diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-03-25 15:09:48 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-03-25 15:09:48 -0300 |
commit | e94e6c27af495a2460c811bb506459f1428dec6b (patch) | |
tree | 17d01f309bd409c023b181b8dbcbfa390df5d350 /activerecord/CHANGELOG.md | |
parent | 9a976ab5756371dd434adda2ff01af3a83d0f63c (diff) | |
download | rails-e94e6c27af495a2460c811bb506459f1428dec6b.tar.gz rails-e94e6c27af495a2460c811bb506459f1428dec6b.tar.bz2 rails-e94e6c27af495a2460c811bb506459f1428dec6b.zip |
Revert "Merge pull request #8313 from alan/only_save_changed_has_one_objects"
This reverts commit 6e3ab3e15faf782f6a937ccf5574a4fb63e3e353, reversing
changes made to 39e07b64ce3f4bb55e60ba0266e677f8e4f4893a.
Conflicts:
activerecord/CHANGELOG.md
activerecord/test/cases/autosave_association_test.rb
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index bb2dbba860..6e77493de9 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,9 @@ +* Save `has_one` association even if the record doesn't changed. + + Fixes #14407. + + *Rafael Mendonça França* + * Use singular table name in generated migrations when `ActiveRecord::Base.pluralize_table_names` is `false`. @@ -76,12 +82,6 @@ *Troy Kruthoff*, *Lachlan Sylvester* -* Only save has_one associations if record has changes. - Previously after save related callbacks, such as `#after_commit`, were triggered when the has_one - object did not get saved to the db. - - *Alan Kennedy* - * Allow strings to specify the `#order` value. Example: |