Closed aniarya82 closed 9 years ago
Yup, on both localhost and online, the update thing is not working with mentor profile
Okay. Thanks for the update. I will look into it.
Debugged. This is the log output for the update function:
Completed 500 Internal Server Error in 5ms
ActiveRecord::UnknownAttributeError (unknown attribute: current_password):
app/controllers/mentors/registrations_controller.rb:11:in `update_resource'
The update function has been activated without the current password. And thus, we can remove that from the edit profile window.
Devise defaults require it to be there, but I have changed it, so that the profile can be updated without the current password.
peace
Fixed this issue in https://github.com/light94/mentorship-portal/commit/d75388c221b950058a4bb5d411d46a0829436273.
@aniarya82 : Nice work!
Have you tested this on mentorship website or on local host?
On 05-Mar-2015, at 12:42 AM, Hiten Chowdhary notifications@github.com wrote: