- 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 393
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 441
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 337
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 329
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 369
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 345
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 417
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 385
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 433
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 361
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 409
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 377
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 425
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 353
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 401