method
size
v1.1.6 -
Show latest stable
- Class:
ActiveRecord::Errors
size()public
Returns the total number of errors added. Two errors added to the same attribute will be counted as such with this as well.
size()Returns the total number of errors added. Two errors added to the same attribute will be counted as such with this as well.