Skip to content

Instantly share code, notes, and snippets.

View andrewliebchen's full-sized avatar

Andrew Liebchen andrewliebchen

View GitHub Profile

#Rails

##Creating a Rails project With the command line, navigate to where you want the project folder to be generated (e.g. documents/my_rails_projects/) and type the following to create a project called project_name:

rails new project_name

Navigate to that folder and type the following to create a controller called posts:

@andrewliebchen
andrewliebchen / gist:4115483
Created November 20, 2012 02:03 — forked from it-is-full-of-stars/gist:4111582
Ruby on Rails for Designers

#Rails

##Creating a Rails project With the command line, navigate to where you want the project folder to be generated (e.g. documents/my_rails_projects/) and type the following to create a project called project_name:

rails new project_name

Navigate to that folder and type the following to create a controller called posts: