1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record
eileencodes 02d3a25361 [ci skip] Clarify deletion strategies for collection proxies
For detailed testing of behavior see:
https://gist.github.com/eileencodes/5b0a2fe011dcff6203fe

This shows destroy_all always destroys records and fires callbacks.
It will never use nullify or delete_all

delete_all's behavior varies greatly based on `hm` vs `hm:t` and deletion
strategy.
2014-10-04 11:36:56 -04:00
..
associations [ci skip] Clarify deletion strategies for collection proxies 2014-10-04 11:36:56 -04:00
attribute_methods Allow YAML serialization when using TZ aware attributes 2014-09-17 12:37:00 -06:00
attribute_set some object allocation reduction for new AR objects 2014-09-27 11:00:58 +04:00
coders Merge pull request #16162 from chancancode/fix_json_coder 2014-07-15 08:43:54 -07:00
connection_adapters use tr instead of gsub when possible 2014-10-01 02:19:52 -05:00
fixture_set
locale
locking Stop using instance exec for type decorators 2014-06-27 11:33:32 -06:00
migration Merge pull request #16305 from tomkadwill/documented_change_table 2014-07-28 15:07:30 -03:00
railties Use Hash#each_key instead of Hash#keys.each 2014-09-29 17:27:10 +02:00
relation No need to call to_sym here 2014-09-20 18:05:01 +09:00
scoping
serializers Remove serialized? from the type interface 2014-06-13 17:04:04 -06:00
tasks schema loading rake tasks maintain database connection for current env. 2014-09-03 18:02:44 +02:00
type Allow YAML serialization when using TZ aware attributes 2014-09-17 12:37:00 -06:00
validations Add a note on custom validation contexts. 2014-08-05 13:13:40 -07:00
aggregations.rb Merge pull request #15542 from Gaurav2728/gaurav-remove_shutdown_link 2014-06-06 19:50:54 -05:00
association_relation.rb
associations.rb Clarify the documentation of the primary_key option for associations 2014-09-22 20:27:03 +01:00
attribute.rb Implement _was and changes for in-place mutations of AR attributes 2014-08-16 23:08:41 -07:00
attribute_assignment.rb Silence warning in test 2014-06-24 07:11:54 -06:00
attribute_decorators.rb Stop using instance exec for type decorators 2014-06-27 11:33:32 -06:00
attribute_methods.rb Changed the DangerousAttributeError exception message to include messaging that the conflict could be because of a conflicting attribute. 2014-09-10 21:40:00 -07:00
attribute_set.rb AttributeSet#include? -> AttributeSet#key? 2014-07-11 07:50:16 -06:00
attributes.rb Simplify creation of default attributes on AR instance 2014-06-29 15:09:11 -06:00
autosave_association.rb Use has_attribute? 2014-09-17 16:26:49 -03:00
base.rb Fix typo and remove code block since present is not a method. 2014-07-28 13:44:37 -03:00
callbacks.rb Reduce allocations when running AR callbacks. 2014-09-28 15:38:32 -07:00
connection_handling.rb
core.rb Reduce allocations when running AR callbacks. 2014-09-28 15:38:32 -07:00
counter_cache.rb No need to call to_sym here 2014-09-20 18:05:01 +09:00
dynamic_matchers.rb
enum.rb Implement _was and changes for in-place mutations of AR attributes 2014-08-16 23:08:41 -07:00
errors.rb s/variable supplied/value supplied [ci skip] 2014-06-13 13:00:13 -07:00
explain.rb Fixed typo in comment 2014-07-19 00:20:41 -07:00
explain_registry.rb
explain_subscriber.rb
fixtures.rb Use Hash#each_key instead of Hash#keys.each 2014-09-29 17:27:10 +02:00
gem_version.rb Preparing for 4.2.0.beta2 release 2014-09-26 17:19:53 -03:00
inheritance.rb Merge pull request #15762 from arthurnn/better_error_on_bad_alias_method 2014-07-18 23:42:31 +09:30
integration.rb Use #model_name on instances instead of classes 2014-06-24 17:20:24 -07:00
log_subscriber.rb
migration.rb [ci skip] add doc for STEP in migration 2014-08-21 01:01:45 +05:30
model_schema.rb Remove defunct ivars 2014-09-28 17:16:56 -07:00
nested_attributes.rb Rename type_cast to type_cast_from_database 2014-06-09 13:39:51 -06:00
no_touching.rb
null_relation.rb
persistence.rb Implement _was and changes for in-place mutations of AR attributes 2014-08-16 23:08:41 -07:00
query_cache.rb remove blank lines in the start of the ActiveRecord files 2014-07-29 02:51:08 +04:00
querying.rb some object allocation reduction for new AR objects 2014-09-27 11:00:58 +04:00
railtie.rb
readonly_attributes.rb remove blank lines in the start of the ActiveRecord files 2014-07-29 02:51:08 +04:00
reflection.rb Always add lambda to scope chain to eliminate branch in eval_scope 2014-09-04 08:16:13 -04:00
relation.rb Move #encode_with to Relation 2014-07-15 18:01:16 -05:00
result.rb Encapsulate knowledge of type objects on ActiveRecord::Result 2014-06-22 09:00:15 -06:00
runtime_registry.rb
sanitization.rb [ci skip] Use an for SQL 2014-06-14 17:18:48 +05:30
schema.rb remove blank lines in the start of the ActiveRecord files 2014-07-29 02:51:08 +04:00
schema_dumper.rb do not dump foreign keys for ignored tables. 2014-09-17 11:43:42 +02:00
schema_migration.rb Extract AR::SchemaMigration.normalized_versions method 2014-06-27 20:16:21 +03:00
scoping.rb
serialization.rb
statement_cache.rb
store.rb add missing :nodoc: to store.rb. [ci skip] 2014-06-24 13:58:07 +02:00
timestamp.rb Implement _was and changes for in-place mutations of AR attributes 2014-08-16 23:08:41 -07:00
transactions.rb Reduce allocations when running AR callbacks. 2014-09-28 15:38:32 -07:00
translation.rb
type.rb Allow YAML serialization when using TZ aware attributes 2014-09-17 12:37:00 -06:00
validations.rb Moved #create! method from Validations to Persistence module 2014-08-05 18:36:29 +03:00
version.rb