Skip to content

CSV generation error since customizable update #201

@bbonamin

Description

@bbonamin

Hey guys,

Since updating to ActiveAdmin 0.2.1 (I'm on 0.2.2 now and still it isn't working), CSV outputs don't work for me anymore, neither default or customized output. I get the following error:

NameError in Admin/towplanes#index

Showing /home/bcb/.rvm/gems/ruby-1.9.2-p136/bundler/gems/active_admin-7d7f31fb620f/lib/active_admin/views/templates/active_admin/resource/index.csv.erb where line #6 raised:

uninitialized constant ActionView::CompiledTemplates::CSV
Extracted source (around line #6):

3:            require 'fastercsv'
4:            FasterCSV
5:          else
6:            CSV
7:          end
8: 
9: 
Rails.root: /home/bcb/Dropbox/rails/cpr

Could anyone help me solve this? Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions