I have a problem with an application I made here on the service. I use nested_form together with Devise for a student registration, that is, when registering a student, I already add a user to it in the system, which can have access to notes among other things. However, when I edit the registry, it asks me to add the password again. I tried to create the customized controller, but I did not succeed. So I send the links to some files so that a charitable soul can help me.
User Model
link
Student model
link
Student Controller
link