Skip to content

Instantly share code, notes, and snippets.

@jasondew
Created October 8, 2009 18:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save jasondew/205241 to your computer and use it in GitHub Desktop.
Save jasondew/205241 to your computer and use it in GitHub Desktop.
class Client < ActiveRecord::Base
has_many :diagnoses
end
class Diagnosis < ActiveRecord::Base
belongs_to :client
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment