aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/integration_test.rb
diff options
context:
space:
mode:
authorTsutomu Kuroda <t-kuroda@oiax.jp>2013-08-09 23:46:27 +0900
committerTsutomu Kuroda <t-kuroda@oiax.jp>2014-01-29 09:16:46 +0900
commitc1d99344476e1046a609f64776621542b399c929 (patch)
tree515e8e0aa6951118fe756c96c36ee60952e19f12 /activerecord/test/cases/integration_test.rb
parentb9cd5a29dd4c6142b19c861fbf1a67452320b3dd (diff)
downloadrails-c1d99344476e1046a609f64776621542b399c929.tar.gz
rails-c1d99344476e1046a609f64776621542b399c929.tar.bz2
rails-c1d99344476e1046a609f64776621542b399c929.zip
Handle aliased attributes in AR::Relation#select, #order, etc.
With this we can write `Model#select(:aliased)`, `Model#order(:aliased)`, `Model#reoder(aliased: :desc)`, etc. Supplementary work to 54122067acaad39b277a5363c6d11d6804c7bf6b.
Diffstat (limited to 'activerecord/test/cases/integration_test.rb')
0 files changed, 0 insertions, 0 deletions