- A
- B
Instance Public methods
after_create(*args, &block) Link
Registers a callback to be called after a record is created. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 370
after_destroy(*args, &block) Link
Registers a callback to be called after a record is destroyed. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 418
after_find(*args, &block) Link
Registers a callback to be called after a record is instantiated via a finder. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 314
after_initialize(*args, &block) Link
Registers a callback to be called after a record is instantiated. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 306
after_save(*args, &block) Link
Registers a callback to be called after a record is saved. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 346
after_touch(*args, &block) Link
Registers a callback to be called after a record is touched. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 322
after_update(*args, &block) Link
Registers a callback to be called after a record is updated. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 394
around_create(*args, &block) Link
Registers a callback to be called around the creation of a record. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 362
around_destroy(*args, &block) Link
Registers a callback to be called around the destruction of a record. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 410
around_save(*args, &block) Link
Registers a callback to be called around the save of a record. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 338
around_update(*args, &block) Link
Registers a callback to be called around the update of a record. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 386
before_create(*args, &block) Link
Registers a callback to be called before a record is created. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 354
before_destroy(*args, &block) Link
Registers a callback to be called before a record is destroyed. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 402
before_save(*args, &block) Link
Registers a callback to be called before a record is saved. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 330
before_update(*args, &block) Link
Registers a callback to be called before a record is updated. See ActiveRecord::Callbacks
for more information.
Source: on GitHub
# File activerecord/lib/active_record/callbacks.rb, line 378