Hello, I have a user model which stores a users name, email, and password.

I have a separate profile controller which lets the user edit his name,
email, and password from the user model.

I want the user to be able to update his name separately from his email as
well as change his password separately from when he changes his name or
email.

So on my profile edit page I have 3 forms. One for editing his name, one for
his email, then a third form to enter in his current password, what he wants
his new password to be, then a confirmation of that password.

My problem is that he can't edit just his name, when I submit the name form
the password validation kicks in and won't let me submit.

Can anyone give me some tips on how I could accomplish this please? Thank
you.

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