mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix inverted conditional
Oops, I should had run the tests
This commit is contained in:
parent
bbbef23e1f
commit
985ce470f6
1 changed files with 1 additions and 1 deletions
|
@ -443,7 +443,7 @@ module ActiveRecord
|
||||||
end
|
end
|
||||||
|
|
||||||
def without_prepared_statement?(binds)
|
def without_prepared_statement?(binds)
|
||||||
@prepared_statements || binds.empty?
|
!@prepared_statements || binds.empty?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue