If I have the following check:
validates_inclusion_of :dob, :in => Date.new(1900)..Time.now.years_ago(18).to_date, :message => "You must be 18 or older to register"
Actual message on the site that appears:
"Dob You must be 18 years old or older to register"
Is there a way to not include the column name at the beginning of the message?
thanks
Tom
source
share