aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorJames Miller <bensie@gmail.com>2013-02-13 12:27:06 -0800
committerJames Miller <bensie@gmail.com>2013-02-13 12:27:06 -0800
commitcaabed6c76eea0db99949f34c234ef1b2657392a (patch)
tree2271c8fc2593bf4afd7158165ac7d5c9a9a66a0a /activerecord/CHANGELOG.md
parent5d58948fe72e3b0422790b8adc0fab7bbf9e6573 (diff)
downloadrails-caabed6c76eea0db99949f34c234ef1b2657392a.tar.gz
rails-caabed6c76eea0db99949f34c234ef1b2657392a.tar.bz2
rails-caabed6c76eea0db99949f34c234ef1b2657392a.zip
Don't call after_commit when creating through an association and save fails, fixes #5802
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index db21d323f6..4fa37cc5c2 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,5 +1,10 @@
## Rails 4.0.0 (unreleased) ##
+* Don't run after_commit callback when creating through an association
+ if saving the record fails.
+
+ *James Miller *
+
* Allow store accessors to be overrided like other attribute methods, e.g.:
class User < ActiveRecord::Base