method
after_rollback
v5.0.0.1 -
Show latest stable
- Class:
ActiveRecord::Transactions::ClassMethods
after_rollback(*args, &block)public
This callback is called after a create, update, or destroy are rolled back.
Please check the documentation of #after_commit for options.