Displaying 1 result from an estimated 1 matches for "update_password_path".
2007 May 23
6
RESTful RESOURCE PARTIAL UPDATE
...it_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 validations on update. When i set the password validations
on update, i can get the update_password to work, but update_email,
and update_login fail validations because they are trying to validate
passwords too when t...