If you have already created data models in your rails app but wish to scaffold or stub out the controller and the views without starting over the models, you can use the option scaffold_controller

rails generate scaffold_controller <name_of_controller_or_model_pluralized>

For a list of possible generation options, use the -h flag for help.

rails generate -h