method

after_create

Importance_1
v2.2.1 - Show latest stable - 0 notes - Class: ActiveRecord::Callbacks
after_create() public

Is called after Base.save on new objects that haven’t been saved yet (no record exists). Note that this callback is still wrapped in the transaction around save. For example, if you invoke an external indexer at this point it won’t see the changes in the database.

Show source
Register or log in to add new notes.