instance method
size
Ruby on Rails 8.0.4
Since v2.2.3Signature
size
Returns number of errors.
Source
# File activemodel/lib/active_model/errors.rb, line 103
def_delegators :@errors, :each, :clear, :empty?, :size, :uniq!
Defined in activemodel/lib/active_model/errors.rb line 103
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveModel::Errors