From b1ba76840d5ea7920bd193f8f6803192014e0f45 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 9 Apr 2014 16:46:40 -0700 Subject: tests still pass when caching unprepared statements --- activerecord/lib/active_record/core.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord') 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 -- cgit v1.2.3