diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-03-10 21:11:17 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-03-10 21:12:31 +0900 |
commit | 043876ece5e4f88f715ef6ace3690e399e8d42bb (patch) | |
tree | c839a46395ae951f672750c0a69ea8135b7c0c8b /activerecord | |
parent | c8c1460f7a97c15dff641a30e63914991d407595 (diff) | |
download | rails-043876ece5e4f88f715ef6ace3690e399e8d42bb.tar.gz rails-043876ece5e4f88f715ef6ace3690e399e8d42bb.tar.bz2 rails-043876ece5e4f88f715ef6ace3690e399e8d42bb.zip |
Remove conditions parameter from `NullRelation#delete_all`
Follow up of e7381d289e4f8751dcec9553dcb4d32153bd922b.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/null_relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/null_relation.rb b/activerecord/lib/active_record/null_relation.rb index 2bb7ed6d5e..26966f9433 100644 --- a/activerecord/lib/active_record/null_relation.rb +++ b/activerecord/lib/active_record/null_relation.rb @@ -4,7 +4,7 @@ module ActiveRecord [] end - def delete_all(_conditions = nil) + def delete_all 0 end |