> "Where does the "change password" stuff go? new action called > "change_password"? No! It's an update! Maybe an additional view to > show > the form for requesting the change, but the change itself is an update. >
But then wouldn't you need an extra action (GET change_password) to display that additional view with the form requesting the change? The form on that view would issue a regular PUT to UPDATE the entire record, sure, but somehow you need to be able to invoke that form... Also, what if you want to display a message saying 'We've changed your password' instead of the regular 'We've updated your entire record'? Then you'd need an extra parameter on the PUT account/id action, to indicate that you've called this action from the 'change_password' form. Wouldn't you? Or am I missing something? Thanks for your help. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

