method
after_rollback
v4.2.7 -
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.