class TransactionCallbacksTest::ReplyWithCallbacks

Attributes

save_on_after_create[RW]

Public Instance Methods

do_after_commit() click to toggle source
# File activerecord/test/cases/transaction_callbacks_test.rb, line 29
def do_after_commit
  history << :commit_on_create
end
history() click to toggle source
# File activerecord/test/cases/transaction_callbacks_test.rb, line 25
def history
  @history ||= []
end