aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2019-04-02 16:36:07 -0700
committerGitHub <noreply@github.com>2019-04-02 16:36:07 -0700
commit59bed68d5e37b994f5e607c3d2b8c5424a0948b9 (patch)
treec1ff0b535dd314d2d509056a4d70ae0ff34c205a /activerecord/CHANGELOG.md
parent798f175c65bbfd95b3fa0dd639ca08ae8485d5d1 (diff)
downloadrails-59bed68d5e37b994f5e607c3d2b8c5424a0948b9.tar.gz
rails-59bed68d5e37b994f5e607c3d2b8c5424a0948b9.tar.bz2
rails-59bed68d5e37b994f5e607c3d2b8c5424a0948b9.zip
Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :create, :update ]`. (#35804)
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index d73d9ade41..96e2a8683e 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Add `after_save_commit` callback as shortcut for `after_commit :hook, on: [ :create, :update ]`.
+
+ *DHH*
+
+* Add `ActiveRecord::Relation#extract_associated` for extracting associated records from a relation.
+
* Assign all attributes before calling `build` to ensure the child record is visible in
`before_add` and `after_add` callbacks for `has_many :through` associations.