Flowdock
added?(attribute, message = nil, options = {}) public

Returns true if an error on the attribute with the given message is present, false otherwise. message is treated the same as for add.

person.errors.add :name, :blank
person.errors.added? :name, :blank # => true
Show source
Register or log in to add new notes.