Skip to content

mysen/roc-lab3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hi, Welcome to Rails on Campus.

This is the sample code from Lab #2. Hopefully you had a chance to work on this in class and have your own version. If not, feel free to download this and use it as a starting point for Lab #3.

Topics covered in this Lab include:

  • Generating a new resource
  • ActiveRecord relations
  • Creating a form for a nested resource
  • Building a create action in a new controller

Versions used for this code:

  • Rails 3.1.1
  • ruby 1.9.2
  • see Gemfile for more information

Instructions:

Additional resources:


Rails on Campus is a program started by Leon Du and Shaokun Wu, 2 ruby developers in Guangzhou, China. The idea is to build a good set of material for introduction courses that can be used to teach Rails on college campuses. College students are often not exposed to newer technology, and are left to learn on the job. The goal of this program is to introduce students to the world of open source development frameworks to help prepare them for a good job.

Rails on Campus is sponsored by:

About

demo code for Rails on Campus Lab #3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published