Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request for Extra parameters on the sign_up page and user model #5612

Open
jackparsons93 opened this issue Aug 3, 2023 · 1 comment

Comments

@jackparsons93
Copy link

I was watching a Youtube video [https://youtu.be/kUoN3Uv9ZTQ?t=702] by web crunch where he edits the Registration controller which inherits from Devise::RegistrationController to allow the Devise model to accept an extra parameter of Name on the User model in the sign_up.

I also think it would be cool to add Devise Scaffolding so that a similar command to rails g scaffold Model [params], but for devise to add views and controllers to make a list of users and see the info of all users.

I also would like to make a nested scaffold generator for devise so that we have the Users model where User has_many: post and a post model where belongs_to: User. And to automatically set the routes with a resources do block to make it so that localhost:3000/users/1/posts/3 will pop up with the third post of the first user and have this be a one line command for nested scaffold with devise.

Thank you for your time
Chris Wilson

@samiq
Copy link

samiq commented Oct 7, 2023

I think you might find this tutorial useful, it shows how you can edit the model and views before you do the initial migration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants