Created
July 25, 2012 19:21
-
-
Save fallanic/3177995 to your computer and use it in GitHub Desktop.
Monkey patch to extend active-admin csv limit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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