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/models/possession.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/models/possession.rb')
-rw-r--r-- | activerecord/test/models/possession.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/test/models/possession.rb b/activerecord/test/models/possession.rb new file mode 100644 index 0000000000..ddf759113b --- /dev/null +++ b/activerecord/test/models/possession.rb @@ -0,0 +1,3 @@ +class Possession < ActiveRecord::Base + self.table_name = 'having' +end |