Methods
C
N
Attributes
[R] history
Class Public methods
new()
# File activemodel/test/cases/callbacks_test.rb, line 108
def initialize
  @history = []
end
Instance Public methods
callback1()
# File activemodel/test/cases/callbacks_test.rb, line 113
def callback1; self.history << 'callback1'; end
callback2()
# File activemodel/test/cases/callbacks_test.rb, line 114
def callback2; self.history << 'callback2'; end
create()
# File activemodel/test/cases/callbacks_test.rb, line 115
def create
  run_callbacks(:create) {}
  self
end