aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-01 12:31:43 -0800
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-03-01 12:31:43 -0800
commit35050ab26dcb99bafc7416c6d8fefd32131352b8 (patch)
tree05d9f7caf4d422a08aba1a5ab442926805a14b20 /activerecord/CHANGELOG.md
parent99775fd1612217aaba2f3580b4204c6b75c04249 (diff)
parentb9399c470bc7cf85952ab0cc7113f4f825a1a7b3 (diff)
downloadrails-35050ab26dcb99bafc7416c6d8fefd32131352b8.tar.gz
rails-35050ab26dcb99bafc7416c6d8fefd32131352b8.tar.bz2
rails-35050ab26dcb99bafc7416c6d8fefd32131352b8.zip
Merge pull request #9510 from senny/7364_warn_when_appending_prepending_to_an_association
deal with `#append` and `#prepend` on association collections
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md14
1 files changed, 10 insertions, 4 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 235a91fafa..c5bef0a6e6 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,12 +1,18 @@
## Rails 4.0.0 (unreleased) ##
+* The `#append` method for collection associations behaves like`<<`.
+ `#prepend` is not defined and `<<` or `#append` should be used.
+ Fixes #7364.
+
+ *Yves Senn*
+
* Added support for creating a table via Rails migration generator.
- For example,
+ For example,
rails g migration create_books title:string content:text
- will generate a migration that creates a table called books with
- the listed attributes, without creating a model.
+ will generate a migration that creates a table called books with
+ the listed attributes, without creating a model.
*Sammy Larbi*
@@ -372,7 +378,7 @@
deprecated and removed in future versions of Rails.
*Amparo Luna + Guillermo Iguaran*
-
+
* `after_commit` and `after_rollback` now validate the `:on` option and raise an `ArgumentError`
if it is not one of `:create`, `:destroy` or `:update`