jordanbyron/mission_of_mercy — Issue #69: Missing prosthetic relation
Author: kbl
Created: 2012-01-18 11:41:15+00:00
State: open

`Patient` model is the only place in code which depends on `Prosthetic` model. Latter actually doesn't exist. Deleting any patient record ends with error provided in gist https://gist.github.com/1627050 due to

`has_one :prosthetic, :dependent => :delete`

existing in `Patient` model. Enclosed patch solves this issue.