diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-06-22 23:04:58 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-06-22 23:04:58 +0200 |
commit | 04b6ae4d186195008b7801df19ebba295f042288 (patch) | |
tree | 1a923b4264584ca4521a23101bb363873480ca3b | |
parent | f0f017466da99a238d71e8f7232b223c5442f2ab (diff) | |
download | rails-04b6ae4d186195008b7801df19ebba295f042288.tar.gz rails-04b6ae4d186195008b7801df19ebba295f042288.tar.bz2 rails-04b6ae4d186195008b7801df19ebba295f042288.zip |
changelog entries for #15866 and #15848
/cc @sgrif
-rw-r--r-- | activerecord/CHANGELOG.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 7305c2c738..c87565452d 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,14 @@ +* `reload` no longer merges with the existing attributes. + The attribute hash is fully replaced. The record is put into the same state + as it would be with `Model.find(model.id)`. + + *Sean Griffin* + +* The object returned from `select_all` must respond to `column_types`. + If this is not the case a `NoMethodError` is raised. + + *Sean Griffin* + * `has_many :through` associations will no longer save the through record twice when added in an `after_create` callback defined before the associations. |