aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
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/CHANGELOG.md
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/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 7db99d4aeb..2e103ba354 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Handle aliased attributes `select()`, `order()` and `reorder()`.
+
+ *Tsutomu Kuroda*
+
* Reset the collection association when calling `reset` on it.
Before: