keys()
Instance Public methods
Returns all message keys.
person.errors.messages # => {:name=>["cannot be nil", "must be specified"]} person.errors.keys # => [:name]
Returns all message keys.
person.errors.messages # => {:name=>["cannot be nil", "must be specified"]} person.errors.keys # => [:name]
Please login to continue.