method

invalid?

invalid?(attribute)
public

Returns true if the specified attribute has errors associated with it.