Copyright ©

Ruby on Rails - The Generators

script/generate model ModellNameGenerates Active Records
script/generate controller ListController show editGenerates Controller
script/generate scaffold ModelName ControllerNameGenerates Scaffold
script/generate migration AddNewTableGenerates Table to migrate
script/generate plugin PluginNameGenerates Plugin
script/generate integration_test TestNameGenerates Integ Test
script/generate session_migrationGenerates Session Migration

Following is the list of options which can be used alongwith generators:

Check following link for more information on Rails Generators.


Copyright ©