Use the Generate dialog to run Rails scripts without having to go into a command prompt. Currently the available scripts are:
These are equivalent to running the following scripts at the command prompt:
ruby ./script/generate controller
ruby ./script/generate model
ruby ./script/generate scaffold
So, for example, if you want to run this script…
ruby ./script/generate controller Blog
…select the Controller option and enter Blog in the Value field.
To run this script…
ruby ./script/generate scaffold Post Blog
…select the Scaffold option and enter Post Blog in the Value field.
Ruby and Rails Tools