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
Neeraj Singh f319e4a942 Do not invoke callbacks when delete_all is called
Method `delete_all` should not be invoking callbacks and this
feature was deprecated in Rails 4.0. This is being removed.
`delete_all` will continue to honor the `:dependent` option. However
if `:dependent` value is `:destroy` then the default deletion
strategy for that collection will be applied.

User can also force a deletion strategy by passing parameter to
`delete_all`. For example you can do `@post.comments.delete_all(:nullify)`
2013-06-30 14:50:18 +05:30
..
associations Do not invoke callbacks when delete_all is called 2013-06-30 14:50:18 +05:30
attribute_methods fix serialization type cast when value is already unserialized 2013-06-05 18:08:33 +02:00
coders
connection_adapters Fix documents for create_join_table 2013-06-21 17:27:55 +09:00
fixture_set
locale
locking Fix word order in documentation for with_lock 2013-05-30 17:38:55 -03:00
migration
railties Properly namespace DatabaseTasks 2013-06-14 18:51:14 +02:00
relation Merge pull request #11161 from dmitry/find_in_batches_works_without_logger 2013-06-28 06:00:20 -07:00
scoping Simplify/fix implementation of default scopes 2013-06-28 13:45:57 +01:00
serializers
tasks Remove FirebirdDatabaseTasks was deprecated, because this was provided by 3rd-party. 2013-06-05 21:16:50 +09:00
validations Revert "Merge pull request #4490 from EmmanuelOga/master" 2013-06-04 00:33:50 +09:00
aggregations.rb
association_relation.rb
associations.rb Getting rid of the +automatic_inverse_of: false+ option in associations in favor 2013-06-08 10:16:51 -07:00
attribute_assignment.rb Remove deprecated attr_protected/accessible 2013-06-27 20:38:30 +02:00
attribute_methods.rb
autosave_association.rb Revert "Merge pull request #4490 from EmmanuelOga/master" 2013-06-04 00:33:50 +09:00
base.rb
callbacks.rb
connection_handling.rb
core.rb remove deprecated implicit join references. 2013-06-29 10:50:44 +02:00
counter_cache.rb
dynamic_matchers.rb
errors.rb Merge pull request #10561 from Empact/nix-throwresult 2013-06-07 03:03:18 -07:00
explain.rb
explain_registry.rb
explain_subscriber.rb
fixtures.rb fixture setup does not rely on AR::Base.configurations. 2013-06-15 14:58:38 +02:00
inheritance.rb minor comments cleanup 2013-05-27 14:58:43 -04:00
integration.rb
log_subscriber.rb log the sql that is actually sent to the database 2013-06-19 17:37:27 +05:30
migration.rb Fix Build. Changing constructor. 2013-06-05 11:25:42 +02:00
model_schema.rb
nested_attributes.rb let the object stay in charge of internal cache invalidation 2013-06-13 10:59:11 -07:00
null_relation.rb
persistence.rb rewrites AR's reload documentation 2013-05-31 13:02:40 +02:00
query_cache.rb
querying.rb Moving the pluck and ids methods to their own delegate line. 2013-06-25 21:40:58 -07:00
railtie.rb Setup env and seed_loaded for DatabaseTasks outside load_config 2013-06-23 16:26:22 +02:00
readonly_attributes.rb Remove instance level attr_readonly setting was deprecated. 2013-06-02 10:25:41 +09:00
reflection.rb quoted table name is also cached 2013-06-13 16:07:11 -07:00
relation.rb remove deprecated implicit join references. 2013-06-29 10:50:44 +02:00
result.rb Change Result#each to return an Enumerator when called without a block. 2013-06-18 15:34:18 -07:00
runtime_registry.rb
sanitization.rb
schema.rb
schema_dumper.rb
schema_migration.rb
scoping.rb
serialization.rb
statement_cache.rb
store.rb
test_case.rb
timestamp.rb correct documentation about active_record behavior 2013-06-15 00:34:10 +08:00
transactions.rb removed unnecessary mapping for on options 2013-06-25 22:31:14 +04:00
translation.rb
validations.rb
version.rb