Class: RiotRails::TransactionalMiddleware

Inherits:
Riot::ContextMiddleware
  • Object
show all
Defined in:
lib/riot/active_record/transactional_middleware.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) call(context)



5
6
7
8
# File 'lib/riot/active_record/transactional_middleware.rb', line 5

def call(context)
  middleware.call(context)
  hijack_local_run(context) if handle?(context)
end