Where did that method come from? All other methods are Ruby methods.

On Wed, Sep 17, 2014 at 3:09 PM, Matteo Panara <matteo.pan...@gmail.com>
wrote:

> Why not?
>
> module ActiveModel
>   module Validations
>     class NumericalityValidator < EachValidator
>       CHECKS = { greater_than: :>, greater_than_or_equal_to: :>=,
>                 equal_to: :==, less_than: :<, less_than_or_equal_to: :<=,
>                 multiple_of: :multiple_of?, odd: :odd?, even: :even?,
>                 odd: :odd?, even: :even?, other_than: :!= }.freeze
>
> Thanks,
> Matteo
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-core+unsubscr...@googlegroups.com.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> Visit this group at http://groups.google.com/group/rubyonrails-core.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Mohamed Wael Khobalatte

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to