Questions tagged [rake]

Ruby build utility similar to make with build commands defined in pure Ruby.

Filter by
Sorted by
Tagged with
3
votes
1answer
2k views

Update record with CSV

I'm using Rails 4.2.5, and I'd like to update existing records with a csv file with two fields: id,category. Where if the category field is blank, it defaults to misc. Here's an example csv file: <...