On 9 August 2012 17:06, tomkins <[email protected]> wrote: > 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?
What have you got in the view to show the messages? Do you get any message at all? Do other validations generate messages (default or custom)? Colin -- 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]. For more options, visit https://groups.google.com/groups/opt_out.

