Skip to content

Instantly share code, notes, and snippets.

@mickhansen
Created January 9, 2014 15:46
Show Gist options
  • Save mickhansen/8336251 to your computer and use it in GitHub Desktop.
Save mickhansen/8336251 to your computer and use it in GitHub Desktop.
Physician.hasMany(Appointment)
Physician.hasMany(Patient, {through: Appointment})
Patient.hasMany(Appointment)
Patient.hasMany(Physician, {through: Appointment})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment