method
size
v2.3.8 -
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.
size()Returns the total number of errors added. Two errors added to the same attribute will be counted as such.