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 355
      

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 403
    

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 299
      

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 291
      

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 331
      

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 307
      

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 379
      

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 347
      

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 395
      

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 323
      

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 371
      

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 339
      

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 387
      

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 315
      

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 363