size
Returns number of errors.
# File activemodel/lib/active_model/errors.rb, line 100 delegate :each, :clear, :empty?, :size, :uniq!, to: :@errors