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

Merge pull request #19381 from Empact/null-relation

Fix NullRelation.update_all and .exists? signature to match the same on Relation
This commit is contained in:
Yves Senn 2015-03-18 09:03:54 +01:00
commit fb646969a2

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