comma-csv/comma

Rails 3 - error msg about activesupport

Opened this issue · 1 comments

I am trying to use comma in a Rails 3 project. I added the gem to the app's gemfile.

When I try to add the comma ... do end statement to a model, I get a "comma - method undefined" error. So I add a

require 'comma' to the model, which makes the method undefined error go away, but now I get an exception saying "no such file to load - activesupport"

Could you give us step-by-step instructions on how to use comma in a Rails 3 project, please? It requires activesupport, but I believe the way Rails 3 includes activesupport has been changed.

Please help, I'd like to use your great software

I was able to get around this error by installing comma as a plugin. Now, I get just a proc dump in the csv data, but this will be another issue