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:
parent
314ab7b14d
commit
3bcb314998
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue