diff options
author | Arthur Neves <arthurnn@gmail.com> | 2015-02-12 23:06:44 -0500 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2015-02-24 19:13:56 -0500 |
commit | 4a1bb9d0ce985fd105f930078a733601b29ef8a4 (patch) | |
tree | 3d6ac1c3e44f3646ecd0833e13ef0f6acf39ea3f /activerecord/lib/active_record/validations.rb | |
parent | 62133326df3c7edff67a2e57ae32c95bf6e8a818 (diff) | |
download | rails-4a1bb9d0ce985fd105f930078a733601b29ef8a4.tar.gz rails-4a1bb9d0ce985fd105f930078a733601b29ef8a4.tar.bz2 rails-4a1bb9d0ce985fd105f930078a733601b29ef8a4.zip |
Add transaction callbacks that wont enroll to the transaction.
Add after_commit_without_transaction_enrollment and
after_rollback_without_transaction_enrollment private callbacks so we
can create after_commit and after_rollback callbacks without having the
records automatic enrolled in the transaction.
[fixes #18904]
Diffstat (limited to 'activerecord/lib/active_record/validations.rb')
0 files changed, 0 insertions, 0 deletions