Hi everyone. I'd like to query the errors object to work out exactly
what kind of error each attribute has. I'm doing this so that I can
display a link to a relevant help page on certain types of errors.

At the moment, I'm doing this by determining the type of error based
on the error message. However, this is going to get messy when I
translate my app into multiple languages.

Does anyone know of a way to determine which validation caused a
specific error?
thanks

Evan
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to