1
I’m having a problem with an app I did here on the job. I use nested_form together with Devise for a student registration, that is, when I register a student, I already add a user to it in the system, who can have access to grades among other things. However, when I edit the registration, it asks me to add the password again.I tried to create the custom controllers, but I was unsuccessful. So I’ll send you the links to some files so a charitable soul can help me .
User Model
https://gist.github.com/luizpicolo/e5d3dbb533c0be1518b0
Student model
https://gist.github.com/luizpicolo/96d9f58c3ac2824ce3ef
Student Controller
https://gist.github.com/luizpicolo/30d0e9578848b2c12315
http://meta.pt.stackoverflow.com/a/851/101
– Maniero