activeadmin_async_export 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ module ActiveAdmin
8
8
  config = controller.send(:active_admin_config)
9
9
  path = controller.send(:active_admin_template, 'index.csv')
10
10
  csv_filename = controller.send(:csv_filename)
11
- collection = Kernel::const_get(model_name).all
11
+ collection = controller.send(:scoped_collection)
12
12
  app = ActiveAdmin.application
13
13
 
14
14
  csv = render_to_string(file: path,
@@ -1,5 +1,5 @@
1
1
  module ActiveAdmin
2
2
  module AsyncExport
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_async_export
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-23 00:00:00.000000000 Z
12
+ date: 2013-01-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activeadmin