I have validates_format_of :name, :with => *my regex*, :message => "That's 
wrong"
The validation works but the message does not get displayed when the user 
enters invalid data.
Does anyone have any ideas how to fix it?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/gtOY6VIxVhIJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to