mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
unscoping a where should remove bind values
This commit is contained in:
parent
8b9ddab287
commit
a924e0dbcd
1 changed files with 2 additions and 0 deletions
|
@ -861,6 +861,8 @@ module ActiveRecord
|
|||
when :order
|
||||
self.reverse_order_value = false
|
||||
result = []
|
||||
when :where
|
||||
self.bind_values = []
|
||||
else
|
||||
result = [] unless single_val_method
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue