I have a form under user controller

And i have another controller call my_account,

i render the _form inside the index page of my_account. to allow user
to update their user information.

So when user click update, update method in UserController will be
invoked.

My question is, if faild to update user object, how can i display
error message on to my_account index page, and still have the field
highlight?? e.g invalid format of email address

User
    -- new.html.erb
    -- _form

my_account
    -- index.html.erb

-- 
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