Permalink
Browse files

Fix inverted conditional

Oops, I should had run the tests
  • Loading branch information...
1 parent 94b0acc commit 08376d3796482fefcd03ad1d7e0bcce0df4c9913 @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
@@ -446,7 +446,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 08376d3

Please sign in to comment.