Skip to content

Instantly share code, notes, and snippets.

@fallanic
Created July 25, 2012 19:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fallanic/3177995 to your computer and use it in GitHub Desktop.
Save fallanic/3177995 to your computer and use it in GitHub Desktop.
Monkey patch to extend active-admin csv limit
#overriding the csv limit, setting it to 30000 instead of the default 10000
module ActiveAdmin
class ResourceController
module Collection
module Pagination
def max_csv_records
30_000
end
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment