Create
Learn
Share

Ruby on Rails

rename
Updated 2010-12-01 11:18

Summary

Things you'll need to know to get started with Ruby on Rails version 3.

Rails 3 or 2?

This page is about version 3. As of April 2010 most people are still using Rails 2 (2.3 or earlier). Note, though, that some of what's on this page is applicable to Rails 2 also.

 

See Ruby on Rails 2 if you're not using Rails 3.

Basic commands

purposecommand
create apprails new foo
run apprails s (for "server")
create modelrails g model foo (singular)
create controllerrails g controller foos (plural)
create migrationrails g migration foo
memorize

Recent badges