NUBIC/ncs_navigator_core — pull request #29 by greenone1975 (2013-02-01 21:02:51+00:00)
Title: Added uniqueness constraints for institute_person_links, closes #3213.

Added a migration with SQL to remove any existing duplicate records, and then build unique indices for `person_id` and `institution_id` to `InstitiutionPersonLinks`. Altered `#finalize_institution` to use `#find_or_create_by`. Added tests.