method

before_create

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActiveRecord::Callbacks::ClassMethods
before_create public

Registers a callback to be called before a record is created. See ActiveRecord::Callbacks for more information.

Show source
Register or log in to add new notes.