Permalink
Browse files

Fix inverted conditional

Oops, I should had run the tests
  • Loading branch information...
1 parent bbbef23 commit 985ce470f66f9466a2902c176422f5b5d7e4c721 @rafaelfranca rafaelfranca committed Sep 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/abstract_adapter.rb
@@ -443,7 +443,7 @@ def translate_exception(exception, message)
end
def without_prepared_statement?(binds)
- @prepared_statements || binds.empty?
+ !@prepared_statements || binds.empty?
end
end
end

0 comments on commit 985ce47

Please sign in to comment.