Method: Sequel::Model::InstanceMethods#validate

Defined in:
lib/sequel/model/base.rb

#validateObject

Validates the object. If the object is invalid, errors should be added to the errors attribute. By default, does nothing, as all models are valid by default. See the “Model Validations” guide. for details about validation. Should not be called directly by user code, call valid? instead to check if an object is valid.



1686
1687
# File 'lib/sequel/model/base.rb', line 1686

def validate
end