From b6d49312920c0b3163064e44ca45871c68136b1c Mon Sep 17 00:00:00 2001 From: Ian Lesperance Date: Wed, 5 Sep 2012 18:00:07 -0400 Subject: Fix pluck when columns/tables are reserved words. Backport #7536 to fix #8968. Conflicts: activerecord/CHANGELOG.md activerecord/lib/active_record/relation/calculations.rb --- activerecord/test/schema/schema.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord/test/schema') diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 1a993fef11..32982e4f82 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -281,6 +281,10 @@ ActiveRecord::Schema.define do t.string :info end + create_table :having, :force => true do |t| + t.string :where + end + create_table :guids, :force => true do |t| t.column :key, :string end -- cgit v1.2.3