Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
ActiveAdmin plugin for email delivery of CSV exports.
Ruby
Branch: master
Failed to load latest commit information.
lib Respect custom controller scope
.gitignore Initial commit
Gemfile Initial commit
LICENSE.txt Initial commit
README.md v1 works
Rakefile Initial commit
activeadmin_async_export.gemspec Replace resque with sidekiq

README.md

ActiveadminAsyncExport

ActiveAdmin plugin for email delivery of CSV exports.

Uses resque_mailer to asynchronously run slow data exports and deliver the results via email.

Installation

Add this line to your application's Gemfile:

gem 'activeadmin_async_export'

And then execute:

$ bundle

Or install it yourself as:

$ gem install activeadmin_async_export

Usage

Just add 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 = 'admin@topshelfclothes.com'

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.