method
add_to_transaction
v4.2.7 -
Show latest stable
- Class:
ActiveRecord::Transactions
add_to_transaction()public
Add the record to the current transaction so that the after_rollback and after_commit callbacks can be called.
add_to_transaction()Add the record to the current transaction so that the after_rollback and after_commit callbacks can be called.