Create
Learn
Share

Ruby on Rails 2

rename
Updated 2010-04-17 19:31

Summary

Things you'll need to know to get started with Rails 2 (specifically 2.3). See Ruby on Rails 3 for the newest version of rails.

Basic commands

purposecommand
create apprails foo
run appscript/server
create modelscript/generate model foo (singular)
create controllersscript/generate controller foos (plural)
create migrationscript/generate migration foo
runs migration files (to update the database schema)rake db:migrate
memorize