Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ERROR] citations#index (ArgumentError) "wrong number of arguments (given 0, expected 1)" #8545

Closed
gbp opened this issue Jan 20, 2025 · 0 comments · Fixed by #8548
Closed
Assignees
Labels
bug Breaks expected functionality f:citations x:uk

Comments

@gbp
Copy link
Member

gbp commented Jan 20, 2025

An ArgumentError occurred in citations#index:

  wrong number of arguments (given 0, expected 1)
  app/models/citation.rb:75:in 'as_json'


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

  * URL        : https://www.whatdotheyknow.com/citations.json
  * HTTP Method: GET
  * Parameters : {"controller" => "citations", "action" => "index", "format" => "json"}

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

  app/models/citation.rb:75:in 'as_json'
  app/controllers/citations_controller.rb:20:in 'block (2 levels) in CitationsController#index'
  app/controllers/citations_controller.rb:18:in 'CitationsController#index'
@gbp gbp added bug Breaks expected functionality f:citations x:uk labels Jan 20, 2025
@gbp gbp self-assigned this Jan 20, 2025
@gbp gbp closed this as completed in be947f0 Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Breaks expected functionality f:citations x:uk
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant