Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActiveRecord::Callbacks

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

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.