Generate Scaffold for already Existing files
Generate Scaffold for already Existing files.
First you can check all the exiting options available to you by using a following command.
First you can check all the exiting options available to you by using a following command.
rails generate -h
if you'd like to generate a controller scaffold for your model, you can use scaffold_controller
you can also use --skip option to skip any files which exist.
Comments
Post a Comment