changed() Instance Public methods Returns an array with the name of the attributes
validates_numericality_of(*attr_names) Instance Public methods Validates whether
param_key(record_or_class) Class Public methods Returns string to use for params
add_on_empty(attributes, options = {}) Instance Public methods Will add an error
persisted?() Instance Public methods Indicates if the model is persisted.
validate(*args, &block) Instance Public methods Adds a validation method
valid?(context = nil) Instance Public methods Runs all the specified validations
changed_attributes() Instance Public methods Returns a hash of the attributes
set(key, value) Instance Public methods Set messages for key to
validates!(*attributes) Instance Public methods This method is used to define
Page 1 of 12