1
0
Fork 0
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:
Rafael Mendonça França 2013-09-11 21:04:11 -03:00
parent bbbef23e1f
commit 985ce470f6

View file

@ -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