From c7d752fe2f1ae79af648ccc1270d396355a18e94 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. --- activerecord/test/schema/schema.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord/test/schema/schema.rb') diff --git a/activerecord/test/schema/schema.rb b/activerecord/test/schema/schema.rb index 007349ea87..b4e611cb09 100644 --- a/activerecord/test/schema/schema.rb +++ b/activerecord/test/schema/schema.rb @@ -285,6 +285,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