aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-02-06 11:43:16 +0100
committerYves Senn <yves.senn@gmail.com>2014-02-06 11:43:16 +0100
commit580f0b61dc99c6854fa930a761d28a3ab08163f7 (patch)
tree7733116968cd9c238ff72f4f6544f340ebb9db2a /activerecord
parentb9ead0feb0d8d82d549e481d4be25418e3b1b03d (diff)
downloadrails-580f0b61dc99c6854fa930a761d28a3ab08163f7.tar.gz
rails-580f0b61dc99c6854fa930a761d28a3ab08163f7.tar.bz2
rails-580f0b61dc99c6854fa930a761d28a3ab08163f7.zip
synchronize 4.1 release notes with CHANGELOGS. [ci skip]
/cc @chancancode
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md22
1 files changed, 13 insertions, 9 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index f1d51b9de1..e06ed5764e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -59,14 +59,16 @@
*Lauro Caetano*
* Fix regressions on `select_*` methods.
- When `select_*` methods receive a `Relation` object, they should be able to get the arel/binds from it.
+ When `select_*` methods receive a `Relation` object, they should be able to
+ get the arel/binds from it.
Also fix regressions on `select_rows` that was ignoring the binds.
Fixes #7538, #12017, #13731, #12056.
*arthurnn*
-* Active Record objects can now be correctly dumped, loaded and dumped again without issues.
+* Active Record objects can now be correctly dumped, loaded and dumped again
+ without issues.
Previously, if you did `YAML.dump`, `YAML.load` and then `YAML.dump` again
in an Active Record model that used serialization it would fail at the last
@@ -154,12 +156,14 @@
*Rafael Mendonça França*
-* `has_one` and `belongs_to` accessors don't add ORDER BY to the queries anymore.
+* `has_one` and `belongs_to` accessors don't add ORDER BY to the queries
+ anymore.
- Since Rails 4.0, we add an ORDER BY in the `first` method to ensure consistent results
- among different database engines. But for singular associations this behavior is not needed
- since we will have one record to return. As this ORDER BY option can lead some performance
- issues we are removing it for singular associations accessors.
+ Since Rails 4.0, we add an ORDER BY in the `first` method to ensure
+ consistent results among different database engines. But for singular
+ associations this behavior is not needed since we will have one record to
+ return. As this ORDER BY option can lead some performance issues we are
+ removing it for singular associations accessors.
Fixes #12623.
@@ -227,7 +231,7 @@
*Harry Brundage*
-* Enable partial indexes for sqlite >= 3.8.0
+* Enable partial indexes for `sqlite >= 3.8.0`.
See http://www.sqlite.org/partialindex.html
@@ -355,7 +359,7 @@
This ensures that `change_table` and `create_table` will use
similar objects.
- Fixes #13577 and #13503.
+ Fixes #13577, #13503.
*Nishant Modak*, *Prathamesh Sonpatki*, *Rafael Mendonça França*