instance method after_create

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

after_create()

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.

Source
# File activerecord/lib/active_record/callbacks.rb, line 263
    def after_create() end

Defined in activerecord/lib/active_record/callbacks.rb line 263 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Callbacks

Type at least 2 characters to search.

↑↓ navigate · open · esc close