method

before_update

before_update
public

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