diff options
author | Ian Lesperance <ilesperance@pivotallabs.com> | 2012-09-05 18:00:07 -0400 |
---|---|---|
committer | Ian Lesperance <ilesperance@pivotallabs.com> | 2012-09-05 18:00:07 -0400 |
commit | c7d752fe2f1ae79af648ccc1270d396355a18e94 (patch) | |
tree | b45a2a862092ee40ec1e66318ac8f0058d61a08f /activerecord/test/models | |
parent | 1c8539da4738d51795422903b84f79705bc854cc (diff) | |
download | rails-c7d752fe2f1ae79af648ccc1270d396355a18e94.tar.gz rails-c7d752fe2f1ae79af648ccc1270d396355a18e94.tar.bz2 rails-c7d752fe2f1ae79af648ccc1270d396355a18e94.zip |
Fix pluck when columns/tables are reserved words.
Diffstat (limited to 'activerecord/test/models')
-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 |