Flowdock
empty?() public

Returns true if no errors are found, false otherwise. If the error message is a string it can be empty.

person.errors.full_messages # => ["name can not be nil"]
person.errors.empty?        # => false
Show source
Register or log in to add new notes.