Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

About this user

Curtis Hermann

« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS 

ActiveRecord Class Example

// Trying out the system, here is just a simple ActiveRecord class

   1  
   2  class Task < ActiveRecord::Base 
   3    belongs_to :user
   4    belongs_to :location
   5    belongs_to :project
   6  end .
« Newer Snippets
Older Snippets »
Showing 1-1 of 1 total  RSS