aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-03-10 21:11:17 +0900
committerRyuta Kamizono <kamipo@gmail.com>2017-03-10 21:12:31 +0900
commit043876ece5e4f88f715ef6ace3690e399e8d42bb (patch)
treec839a46395ae951f672750c0a69ea8135b7c0c8b /activerecord
parentc8c1460f7a97c15dff641a30e63914991d407595 (diff)
downloadrails-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.rb2
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