Skip to content
Browse files

tests still pass when caching unprepared statements

  • Loading branch information...
1 parent 57ee6b0 commit b1ba76840d5ea7920bd193f8f6803192014e0f45 @tenderlove tenderlove committed Apr 9, 2014
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/core.rb
View
1 activerecord/lib/active_record/core.rb
@@ -124,7 +124,6 @@ def find(*ids)
primary_key.nil? ||
default_scopes.any? ||
columns_hash.include?(inheritance_column) ||
- !connection.prepared_statements ||
ids.first.kind_of?(Array)
id = ids.first

0 comments on commit b1ba768

Please sign in to comment.
Something went wrong with that request. Please try again.