method

values

Importance_1
values() public

Returns all message values.

person.errors.messages # => {:name=>["can not be nil", "must be specified"]}
person.errors.values   # => [["can not be nil", "must be specified"]]
Show source
Register or log in to add new notes.