joshmcarthur/spree-import-products — pull request #17 by sbounmy (2012-03-25 20:42:02+00:00)
Title: Delete import products

Hi Joshua,

Along with https://github.com/joshmcarthur/spree-import-products/pull/16

I need admin to be able to 'rollback' imports if anything goes wrong so I basically implemented it for my own usage, if you don't feel the usage of this feature, I totally understand :).

This pull request :
- set the import process in a SQL transaction so we can rollback when an exception occurs : prevent half created importation.
- allows admin to track what product an import have been created
- admin can delete import which destroy associated products

This PR is quite long but has model and integration tests aswell, let me know if you have any questions.