1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix NullRelation.update_all and .exists? signature to match the same on Relation

This commit is contained in:
Ben Woosley 2015-03-17 00:56:15 -07:00
parent 314ab7b14d
commit 3bcb314998

View file

@ -14,7 +14,7 @@ module ActiveRecord
0
end
def update_all(_updates, _conditions = nil, _options = {})
def update_all(_updates)
0
end
@ -80,7 +80,7 @@ module ActiveRecord
end
end
def exists?(_id = false)
def exists?(_conditions = :none)
false
end