Skip to content

Instantly share code, notes, and snippets.

@eLafo
Created January 12, 2012 16:22
Show Gist options
  • Select an option

  • Save eLafo/1601412 to your computer and use it in GitHub Desktop.

Select an option

Save eLafo/1601412 to your computer and use it in GitHub Desktop.
Gist #1 for a post in my blog
class Hospital < ActiveRecord::Base
has_many :turns
end
class HospitalTurn < ActiveRecord::Base
#with a turn_date field of type date
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment