class CallbacksOnActionAndConditionTest::TopicWithCallbacksOnActionAndCondition
Attributes
save_before_commit_history[RW]
update_title[RW]
Public Instance Methods
clear_history()
click to toggle source
# File activerecord/test/cases/transaction_callbacks_test.rb, line 565 def clear_history @history = [] end
history()
click to toggle source
# File activerecord/test/cases/transaction_callbacks_test.rb, line 569 def history @history ||= [] end
run_callback?()
click to toggle source
# File activerecord/test/cases/transaction_callbacks_test.rb, line 573 def run_callback? self.history << :run_callback? true end