aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-30 13:35:28 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-11-30 13:35:28 -0200
commita2dad133d9f7cdf5c5ea38ec9ca01659f250a318 (patch)
tree065000b8bd08d6a21911f3dd542e8ca3039a0a03 /activerecord
parent3bc9c35707e1c0b69b7cdffed31dadce2bfc7738 (diff)
downloadrails-a2dad133d9f7cdf5c5ea38ec9ca01659f250a318.tar.gz
rails-a2dad133d9f7cdf5c5ea38ec9ca01659f250a318.tar.bz2
rails-a2dad133d9f7cdf5c5ea38ec9ca01659f250a318.zip
Improve AR changelog [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md17
1 files changed, 8 insertions, 9 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index a9713bcf41..34603b7f23 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,11 +1,10 @@
-* Previously, the `has_one` macro incorrectly accepts the `counter_cache`
- option due to a bug, although that options was never supported nor
- functional on `has_one` and `has_one ... through` relationships. It now
- correctly raises an `ArgumentError` when passed that option.
+* Previously, the `has_one` macro incorrectly accepted the `counter_cache`
+ option, but never actually supported it. Now it will raise an `ArgumentError`
+ when using `has_one` with `counter_cache`.
*Godfrey Chan*
-* Implement rename_index natively for MySQL >= 5.7.
+* Implement `rename_index` natively for MySQL >= 5.7.
*Cody Cutrer*
@@ -15,16 +14,16 @@
*Lauro Caetano*
-* Update counter cache on a has_many relationship regardless of default scope
+* Update counter cache on a `has_many` relationship regardless of default scope.
Fix #12952.
*Uku Taht*
-* `rename_index` adds the new index before removing the old one. This allows
- to rename indexes on columns with a foreign key and prevents the following error:
+* `rename_index` adds the new index before removing the old one. This allows to
+ rename indexes on columns with a foreign key and prevents the following error:
- `Cannot drop index 'index_engines_on_car_id': needed in a foreign key constraint`
+ Cannot drop index 'index_engines_on_car_id': needed in a foreign key constraint
*Cody Cutrer*, *Yves Senn*