AgileVentures/osra — pull request #203 by NikitaAvvakumov (2014-12-08 08:55:54+00:00)
Title: Implement orphan importer check for internal duplicates in orphan lists

https://osraav.atlassian.net/browse/OSRA-276, subtask of https://osraav.atlassian.net/browse/OSRA-264.

- Implement check for duplicate records within spreadsheets being imported
- Substantially refactor pending_orphan_list_controller#import
- Extract specs for the import action into separate file for clarity and to avoid conflicts between variables
- Ensure destruction of PendingOrphan objects after import by adding `dependent: :destroy` to the association

OSRA-276 #Code-Review