Permalink
Browse files

Fix typo

  • Loading branch information...
1 parent b292b76 commit e0fee7a71f1a8aae3fd8912e17d3e240f6f58515 @scottgonzalez scottgonzalez committed Jan 10, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model/validator.rb
@@ -141,8 +141,8 @@ def initialize(options)
end
# Performs validation on the supplied record. By default this will call
- # +validates_each+ to determine validity therefore subclasses should
- # override +validates_each+ with validation logic.
+ # +validate_each+ to determine validity therefore subclasses should
+ # override +validate_each+ with validation logic.
def validate(record)
attributes.each do |attribute|
value = record.read_attribute_for_validation(attribute)

0 comments on commit e0fee7a

Please sign in to comment.