I use the program for authentication, and on the "Registration" page I have a text box for "organization", so when a user signs up, they will create an organization and I want the user to be associated with this organization (the user model has the attribute organization_id). I created development views and added a field name for the organization name. In my models, I have User belongs_to: organization and organization has_many: users (more than one user will be created associated with the organizations). I was on all the paths that I could find, trying to do this without changing the controller, but no luck. Please do not offer to do this without changing the controller, unless you have an example application in which you have implemented it, to which you can point.
I created a registration controller as described here: Override application registration controller
I just threw a few puts instructions in the controller, and I donβt see them being displayed on the console, so it seems like I am not getting to this controller.
I also copied my views from the application / view / development / registration into the application / view / registration, after which my views seem to come from space! The organization field that I created more is not displayed, and I cannot tell where the view is loading from.
Sorry for not being shorter, but I'm not sure where to go with this.
source share