Skip to Content Skip to Search
Methods
A
B
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.

# File activerecord/lib/active_record/callbacks.rb, line 356
      

after_destroy(*args, &block)

Registers a callback to be called after a record is destroyed. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 404
    

after_find(*args, &block)

Registers a callback to be called after a record is instantiated via a finder. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 300
      

after_initialize(*args, &block)

Registers a callback to be called after a record is instantiated. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 292
      

after_save(*args, &block)

Registers a callback to be called after a record is saved. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 332
      

after_touch(*args, &block)

Registers a callback to be called after a record is touched. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 308
      

after_update(*args, &block)

Registers a callback to be called after a record is updated. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 380
      

around_create(*args, &block)

Registers a callback to be called around the creation of a record. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 348
      

around_destroy(*args, &block)

Registers a callback to be called around the destruction of a record. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 396
      

around_save(*args, &block)

Registers a callback to be called around the save of a record. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 324
      

around_update(*args, &block)

Registers a callback to be called around the update of a record. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 372
      

before_create(*args, &block)

Registers a callback to be called before a record is created. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 340
      

before_destroy(*args, &block)

Registers a callback to be called before a record is destroyed. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 388
      

before_save(*args, &block)

Registers a callback to be called before a record is saved. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 316
      

before_update(*args, &block)

Registers a callback to be called before a record is updated. See ActiveRecord::Callbacks for more information.

# File activerecord/lib/active_record/callbacks.rb, line 364