edge badge
index
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 372
      

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 420
    

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 316
      

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 308
      

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 348
      

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 324
      

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 396
      

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 364
      

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 412
      

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 340
      

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 388
      

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 356
      

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 404
      

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 332
      

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 380