Answer the question
In order to leave comments, you need to log in
How to change the name of a controller created via scaffold?
Let's say I generated rails users
g scaffold Username:string email:stringand I want to change the name User to another, manually change everything?
Answer the question
In order to leave comments, you need to log in
Working with scaffolds when you don't own the tools is bad practice.
With the user scaffold, you have created:
model - User
controller - Users
route - resources: users
migration to the database to create a user.
What do you want to change?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question