You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
yourproject/config/environments/production.rb
set
config.eager_load = false
activeadmin-axlsx/activeadmin-axlsx.gemspec
s.add_runtime_dependency 'activeadmin', "~> 0.6.0"
to
s.add_runtime_dependency 'activeadmin', "> 0.6.0"
ArgumentError (wrong number of arguments (1 for 0)):
activeadmin/lib/active_admin/resource_controller/streaming.rb:11:in `index'
Change line 11
def index
to
def index(arg=nil)
activeadmin-axlsx/lib/active_admin/axlsx/resource_controller_extension.rb:11:in `per_page_with_xlsx'
def per_page_with_xlsx
#add
max_csv_records = 1000
if request.format == Mime::Type.lookup_by_extension(:xlsx)
return max_csv_records
end
per_page_without_xlsx
end
mfairburn
added a commit
to mfairburn/activeadmin-axlsx
that referenced
this issue
Mar 18, 2015
No description provided.
The text was updated successfully, but these errors were encountered: