This course will become read-only in the near future. Tell us at community.p2pu.org if that is a problem.

Developing a quick reference [Nov. 28, 2011, 10:56 a.m.]


Collablorative work editing, modifying and adding to the beginners quick reference guide:

RAILS QUICK Reference

------------------------

rails new <name of directory>        Creates the app directory.
rake db:create                                    Creates the database using the default SQLite.

rake -t                                                  Shows the commands.
rails s                                                  Start the rails server.
ctrl C                                                    Stops the rails server.
http://localhost:3000                         Default webpage indicates that it is working.

rails generate controller home index    Rails generated the home in app directory which is where you mainly will be working in.