Skip to content

Instantly share code, notes, and snippets.

@jasondew
Created October 8, 2009 18:22
Show Gist options
  • 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