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