aboutsummaryrefslogtreecommitdiffstats
path: root/railties/bin
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-05 18:43:10 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-09-05 18:43:10 -0300
commitad4ea980900b96a92e8248bdc6c09973d6bd8254 (patch)
treea7a818098c1ea19f3757d99781d0c3f3670d499b /railties/bin
parent31bfcdc77ca0d8cec9b5fe513bdc6f05814dd4f1 (diff)
downloadrails-ad4ea980900b96a92e8248bdc6c09973d6bd8254.tar.gz
rails-ad4ea980900b96a92e8248bdc6c09973d6bd8254.tar.bz2
rails-ad4ea980900b96a92e8248bdc6c09973d6bd8254.zip
Do not mark object as persisted after an association is saved
Callback order in Active Record objects are important. Users should not define callbacks before the association definition or surprising behaviours like the described at #3798 will happen. This callback order dependency is documented at https://github.com/rails/rails/blob/31bfcdc77ca0d8cec9b5fe513bdc6f05814dd4f1/activerecord/lib/active_record/associations.rb#L1222-1227. This reverts #15728. Fixes #16620.
Diffstat (limited to 'railties/bin')
0 files changed, 0 insertions, 0 deletions