Skip to content

Instantly share code, notes, and snippets.

@leefaus
Created December 30, 2009 03:48
Show Gist options
  • Select an option

  • Save leefaus/265827 to your computer and use it in GitHub Desktop.

Select an option

Save leefaus/265827 to your computer and use it in GitHub Desktop.
class Patient
include MongoMapper::Document
key :personal, Person
key :address, Address
key :telephone, Telephone
many :problems
many :immunizations
many :alerts
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment