search for: number_of_owners

Displaying 1 result from an estimated 1 matches for "number_of_owners".

2007 Jan 18
2
Conditional validates_inclusion_of execution problem
All, I have a field that I''m validating with validates_numericality_of on as well as validates_inclusion_of, like so: validates_numericality_of :number_of_owners, :only_integer => true, :message => ''must be a whole number'' validates_inclusion_of :number_of_owners, :in => 1..3, :message => ''should be between 1 and 3'...