I’m using active_admin for one of my projects, and I have some tables with a lot of data (+100,000 records).
Its fine to paginete to browse the data, but when I want to export the data (so I can do custom match in excel), and I try to export in xml, it just export the current records of the page, instead of exporting the total records on the filtering.
module ActiveAdmin
class ResourceController
module Collection
module Pagination
def max_csv_records
1_000_000
end
end
end
end
end
but that won’t work for xml/json, any ideas how to solve that?
Thx
I ended up doing another monkey patch, there may be a better way but this one works