method
before_update
v7.0.0 -
Show latest stable
- Class:
ActiveRecord::Callbacks::ClassMethods
before_updatepublic
Registers a callback to be called before a record is updated. See ActiveRecord::Callbacks for more information.
before_updateRegisters a callback to be called before a record is updated. See ActiveRecord::Callbacks for more information.