diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-05 15:30:01 -0700 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-05 15:30:01 -0700 |
commit | ebc4d8cede42b2e199a589904ceac6b4dc69eab5 (patch) | |
tree | a300672295a799cdb7d0014e3265d5c9f02bbe4d /activerecord/test/schema/schema.rb | |
parent | fdcbc560ab155f82898e8894db4e566b78abfa37 (diff) | |
parent | c7d752fe2f1ae79af648ccc1270d396355a18e94 (diff) | |
download | rails-ebc4d8cede42b2e199a589904ceac6b4dc69eab5.tar.gz rails-ebc4d8cede42b2e199a589904ceac6b4dc69eab5.tar.bz2 rails-ebc4d8cede42b2e199a589904ceac6b4dc69eab5.zip |
Merge pull request #7536 from pivotal/fix_pluck_with_reserved_words
Fix pluck when columns/tables are reserved words.
Diffstat (limited to 'activerecord/test/schema/schema.rb')
-rw-r--r-- | activerecord/test/schema/schema.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |