ActiveAdmin plugin for email delivery of CSV exports.
Uses resque_mailer to asynchronously run slow data exports and deliver the results via email.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install activeadmin_async_export
gem 'activeadmin_async_export' to your Gemfile. All of the active admin resource index pages will now include a link export data via email. This link will run the CSV report and email the results as an attachement to the current admin user.
Set the from email address
In an initializer, include a line like the following:
ActiveAdmin::AsyncExport.from_email_address = 'email@example.com'
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request