Basic Commands in Ruby On Rails
DiggBlinkRedditDeliciousTechnorati
article by Srirangan
Starting a Rails Application
rails {app_name}
rails {app_path}
Starting Webrick Server
..change cwd to the app_directory..
ruby script/server
Starting Mongrel Server
mongrel_start rails
Generating a Controller
ruby script/generate controller {controller_name} [method_name]
rails script/generate controller {controller_name} [method_name]
Generate a Model
rails script/generate model {model_name}
Generate a Scaffold
rails script/generate scaffold {model_name} {controller_name}