Method: ActiveRecord::Transactions#transaction

Defined in:
lib/active_record/transactions.rb

#transaction(**options, &block) ⇒ Object

See ActiveRecord::Transactions::ClassMethods for detailed documentation.



289
290
291
# File 'lib/active_record/transactions.rb', line 289

def transaction(**options, &block)
  self.class.transaction(**options, &block)
end