Instead of

<%= error_messages_for 'customer' %>

which is telling error_messages_for to display errors for the string
'customer', which I don't expect to ever work, you should probably use

<%= error_messages_for @customer %>

assuming that your controller action sets @customer for use by the view. If
that's not the case, could you show us the code for your action?

Regards,
Craig

--~--~---------~--~----~------------~-------~--~----~
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 this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to