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