diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-09 16:46:40 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-09 16:46:40 -0700 |
commit | b1ba76840d5ea7920bd193f8f6803192014e0f45 (patch) | |
tree | 46d9ebab608d266835c60d91d934839eff5de957 /activerecord | |
parent | 57ee6b0df99f135429cd87f1ed1aec9078bc13ec (diff) | |
download | rails-b1ba76840d5ea7920bd193f8f6803192014e0f45.tar.gz rails-b1ba76840d5ea7920bd193f8f6803192014e0f45.tar.bz2 rails-b1ba76840d5ea7920bd193f8f6803192014e0f45.zip |
tests still pass when caching unprepared statements
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index eeb2f5430e..e4e8fc44d4 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -124,7 +124,6 @@ module ActiveRecord primary_key.nil? || default_scopes.any? || columns_hash.include?(inheritance_column) || - !connection.prepared_statements || ids.first.kind_of?(Array) id = ids.first |