Monday, February 15, 2010

Programmer - How do I find out which CSV row caused an error when trying to add fixtures in Rails?

Programmer Question

Hi there,



I've got a csv fixture file (CSV) that is causing an error when I attempt an import with the usual Fixtures.create_fixtures method.



Is there a way to find out which row/column is causing an error? (I'd look through it manually, but we're trying to migrate from an old system and the fixture file is too big to comb through manually)



Bernie

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails