rootstrap/activeadmin-async_exporter

View on GitHub

Showing 1 of 1 total issue

Method csv_report has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def csv_report(columns:, decorate_model: false, file_name: nil)
          action_item :download_csv, only: :index do
            link_to 'Download CSV',
                    { action: :download_csv, params: params.to_enum.to_h },
                    method: :post,
Severity: Minor
Found in lib/active_admin/async_exporter/reports/dsl.rb - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language