A NoMethodError occurred in reports#report:

A NoMethodError occurred in reports#report:

 undefined method `render_json' for #<Reports::CardHolders:0x00005619efbd3828>
Did you mean?  render_csv
 app/controllers/reports_controller.rb:189:in `block (2 levels) in report'


-------------------------------
Request:
-------------------------------

 * URL        : https://www.bikelink.org/reports/report.json?end_date=2020-04-01&location_ids%5B%5D=391&start_date=2018-01-01&report=Card%20Holders%20(CSV%20only)
 * HTTP Method: GET
 * IP address : 75.10.236.5
 * Parameters : {"end_date"=>"2020-04-01", "location_ids"=>["391"], "start_date"=>"2018-01-01", "report"=>"Card Holders (CSV only)", "controller"=>"reports", "action"=>"report", "format"=>"json"}
 * Timestamp  : 2021-05-14 18:25:54 UTC
 * Server : www-3.internal.bikelink.org
   * Rails root : /var/www/bikelink
 * Process: 32569

-------------------------------
Session:
-------------------------------

 * session id: [FILTERED]
 * data: {"session_id"=>"47861154db8c8b9e80124ec163e34101",
  "warden.user.person.key"=>[[40366], "wwuXj2qEXYc6zMzF6Nq1"],
  "_csrf_token"=>"QkxnQlcP1P6e0PwcbY4kOdG0N5JTRdZoLNGZNcU62tQ="}

-------------------------------
Backtrace:
-------------------------------

 app/controllers/reports_controller.rb:189:in `block (2 levels) in report'
 app/controllers/reports_controller.rb:177:in `report'
Znovu načíst