Hi
Instead of using the "error_messages_for ''user''"
method, I''ve been
manually imbedding the error messages in my form view ....
<%= f.text_field :name %><br/>
<%= error_message_on(:user, :handle) %> # eg: "Please specify a
username"
... which means I can no longer use error_messages_for because the
grammer will be wrong.
Does anyone else do a similar thing? And have suggestions on how to
make it "nicer".
Thanks :) Jason
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---