Module: Granite::Action::Transaction
- Extended by:
- ActiveSupport::Concern
- Included in:
- Performing
- Defined in:
- lib/granite/action/transaction.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#run_callbacks(event) ⇒ Object
25 26 27 28 29 30 31 32 33 34 35 |
# File 'lib/granite/action/transaction.rb', line 25 def run_callbacks(event) if event.to_s == 'commit' begin super event rescue *handled_exceptions => e handle_exception(e) end else super event end end |