aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-10-15 19:19:25 -0300
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2012-10-15 19:19:34 -0300
commitd207a33e00491a73ecc43941a40a30d27cd06ba2 (patch)
tree1ad9948eb0768d7657bfce3227e215fc7543508e /activerecord
parent0a78417386958e849a32e3b8def23e3e28f1e5b0 (diff)
downloadrails-d207a33e00491a73ecc43941a40a30d27cd06ba2.tar.gz
rails-d207a33e00491a73ecc43941a40a30d27cd06ba2.tar.bz2
rails-d207a33e00491a73ecc43941a40a30d27cd06ba2.zip
Move changelog entry from #7439 to the top [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index ae86a0b94e..dd029540cf 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Fix bug where sum(expression) returns string '0' for no matching records
+ Fixes #7439
+
+ *Tim Macfarlane*
+
* PostgreSQL adapter correctly fetches default values when using multiple schemas and domains in a db. Fixes #7914
*Arturo Pie*
@@ -8,7 +13,7 @@
When symbol or hash passed we convert it to Arel::Nodes::Ordering.
If we pass invalid direction(like name: :DeSc) ActiveRecord::QueryMethods#order will raise an exception
-
+
User.order(:name, email: :desc)
# SELECT "users".* FROM "users" ORDER BY "users"."name" ASC, "users"."email" DESC
@@ -906,8 +911,3 @@
*Aaron Patterson*
Please check [3-2-stable](https://github.com/rails/rails/blob/3-2-stable/activerecord/CHANGELOG.md) for previous changes.
-
-* Fix bug where sum(expression) returns string '0' for no matching records
- Fixes #7439
-
- *Tim Macfarlane*