Flowdock
method

keys

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActiveModel::Errors
keys() public

Returns all message keys.

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