Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined local variable or method `max_csv_records' in AA 1.0.0.pre #37

Open
codemilan opened this issue Nov 7, 2014 · 3 comments
Open

Comments

@codemilan
Copy link

No description provided.

@zurzer
Copy link

zurzer commented Dec 19, 2014

activeadmin-axlsx/lib/active_admin/axlsx/resource_controller_extension.rb:11:in `per_page_with_xlsx'
add-> max_csv_records = 2000
or some other numbers. it result in db query -> limit 2000.

@zurzer
Copy link

zurzer commented Dec 19, 2014

  def per_page_with_xlsx
      max_csv_records = 2000
      if request.format ==  Mime::Type.lookup_by_extension(:xlsx)
        return max_csv_records
      end
      per_page_without_xlsx
  end

@saroar
Copy link

saroar commented Jul 8, 2016

not work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants