mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
==, >=, and <= are public methods
This commit is contained in:
parent
6d45be5ba0
commit
c7e68d1729
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ module ActiveModel
|
|||
when Symbol
|
||||
check_value = record.send(check_value)
|
||||
end
|
||||
next if value_length.send(validity_check, check_value)
|
||||
next if value_length.public_send(validity_check, check_value)
|
||||
end
|
||||
|
||||
errors_options[:count] = check_value
|
||||
|
|
Loading…
Reference in a new issue