I’m starting to post each time I have to look up something online. I first created a
products model, then I migrated the database. I needed a normal scaffolded
ProductsController, and I found a StackOverflow question. “rails generate scaffold” when model already exists
I didn’t know there was so many generators until I saw the output of
rails generate -h
controller generator helper integration_test mailer migration model observer performance_test plugin resource scaffold scaffold_controller session_migration stylesheets
rails g scaffold_controller product, and it did as it was supposed to do.