method
invalid?
v1.0.0 -
Show latest stable
- Class:
ActiveRecord::Errors
invalid?(attribute)public
Returns true if the specified attribute has errors associated with it.
invalid?(attribute)Returns true if the specified attribute has errors associated with it.