- 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 362
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 410
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 306
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 298
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 338
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 314
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 386
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 354
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 402
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 330
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 378
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 346
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 394
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 322
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 370