method

before_update

rails latest stable - Class: ActiveRecord::Callbacks::ClassMethods
before_update
public

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