Ruby on Rails Discussions
importing from csv file with datashift_spree causes thor error
rubyonrails-talk
fugee_ohu
(fugee ohu)
January 27, 2018, 9:07pm
1
ERROR: “thor csv” was called with arguments [“-i,”, “-m,”] Usage: “thor datashift:import:csv -i, --input=INPUT -m, --model=MODEL”
I was using it like this:
```
thor datashift_spree:load:products -i, --input=products_export.csv