Method: ActiveRecord::Transactions::ClassMethods#before_commit

Defined in:
activerecord/lib/active_record/transactions.rb

#before_commit(*args, &block) ⇒ Object

:nodoc:



215
216
217
218
# File 'activerecord/lib/active_record/transactions.rb', line 215

def before_commit(*args, &block) # :nodoc:
  set_options_for_callbacks!(args)
  set_callback(:before_commit, :before, *args, &block)
end