Displaying 1 result from an estimated 1 matches for "curr_pass".
Did you mean:
curr_pages
2007 May 23
6
RESTful RESOURCE PARTIAL UPDATE
...uthentication with the login email password validations
defined.
class users_controller
edit_email
edit_login
edit_password
update_email if update_attr save else render => edit_email
update_login if update_attr save else render => edit_login
update_password @curr_pass = params[:curr+passs] if update_attr
save else render => edit_password
end
i have made routes
edit_email_path
edit_login_path
edit_password_path
update_email_path
update_login_path
update_password_path
I can get the update_email and update_login to work if I avoid setting
password validation...