method
size
rails 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.