Methods
- after_create
- after_destroy
- after_find
- after_initialize
- after_save
- after_touch
- after_update
- around_create
- around_destroy
- around_save
- around_update
- before_create
- before_destroy
- before_save
- before_update
Included Modules
Instance Public methods
after_create(*args, &block)
Registers a callback to be called after a record is created. See ActiveRecord::Callbacks
for more information.
after_destroy(*args, &block)
Registers a callback to be called after a record is destroyed. See ActiveRecord::Callbacks
for more information.
after_find(*args, &block)
Registers a callback to be called after a record is instantiated via a finder. See ActiveRecord::Callbacks
for more information.
after_initialize(*args, &block)
Registers a callback to be called after a record is instantiated. See ActiveRecord::Callbacks
for more information.
after_save(*args, &block)
Registers a callback to be called after a record is saved. See ActiveRecord::Callbacks
for more information.
after_touch(*args, &block)
Registers a callback to be called after a record is touched. See ActiveRecord::Callbacks
for more information.
after_update(*args, &block)
Registers a callback to be called after a record is updated. See ActiveRecord::Callbacks
for more information.
around_create(*args, &block)
Registers a callback to be called around the creation of a record. See ActiveRecord::Callbacks
for more information.
around_destroy(*args, &block)
Registers a callback to be called around the destruction of a record. See ActiveRecord::Callbacks
for more information.
around_save(*args, &block)
Registers a callback to be called around the save of a record. See ActiveRecord::Callbacks
for more information.
around_update(*args, &block)
Registers a callback to be called around the update of a record. See ActiveRecord::Callbacks
for more information.
before_create(*args, &block)
Registers a callback to be called before a record is created. See ActiveRecord::Callbacks
for more information.
before_destroy(*args, &block)
Registers a callback to be called before a record is destroyed. See ActiveRecord::Callbacks
for more information.
before_save(*args, &block)
Registers a callback to be called before a record is saved. See ActiveRecord::Callbacks
for more information.
before_update(*args, &block)
Registers a callback to be called before a record is updated. See ActiveRecord::Callbacks
for more information.