Title: ArgumentError with Rails 8.1 · Issue #1488 · JSONAPI-Resources/jsonapi-resources · GitHub
Open Graph Title: ArgumentError with Rails 8.1 · Issue #1488 · JSONAPI-Resources/jsonapi-resources
X Title: ArgumentError with Rails 8.1 · Issue #1488 · JSONAPI-Resources/jsonapi-resources
Description: I'm trying to update my app to Rails 8.1.3 and when I run the rails app:update task it fails part way through with this error: ... skip bin/setup rails active_storage:update bin/rails aborted! ArgumentError: wrong number of arguments (gi...
Open Graph Description: I'm trying to update my app to Rails 8.1.3 and when I run the rails app:update task it fails part way through with this error: ... skip bin/setup rails active_storage:update bin/rails aborted! Argu...
X Description: I'm trying to update my app to Rails 8.1.3 and when I run the rails app:update task it fails part way through with this error: ... skip bin/setup rails active_storage:update bin/rails aborted! ...
Opengraph URL: https://github.com/JSONAPI-Resources/jsonapi-resources/issues/1488
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ArgumentError with Rails 8.1","articleBody":"I'm trying to update my app to Rails 8.1.3 and when I run the `rails app:update` task it fails part way through with this error:\n\n```\n ...\n skip bin/setup\n rails active_storage:update\nbin/rails aborted!\nArgumentError: wrong number of arguments (given 4, expected 3) (ArgumentError)\n\n caller: /Users/jgreen/.asdf/installs/ruby/4.0.3/lib/ruby/gems/4.0.0/gems/jsonapi-resources-0.10.7/lib/jsonapi/routing_ext.rb:134\n | jsonapi_resource_scope(Resource.new(@resource_type, api_only?, @scope[:shallow], options), @resource_type) do\n ^^^^\n callee: /Users/jgreen/.asdf/installs/ruby/4.0.3/lib/ruby/gems/4.0.0/gems/actionpack-8.1.3/lib/action_dispatch/routing/mapper.rb:1319\n | def initialize(entities, api_only, shallow, only: nil, except: nil, **options)\n ^^^^^^^^^^\n/Users/jgreen/projects/seshy-api/config/routes.rb:14:in 'block (3 levels) in \u003ccompiled\u003e'\n/Users/jgreen/projects/seshy-api/config/routes.rb:10:in 'block (2 levels) in \u003ccompiled\u003e'\n/Users/jgreen/projects/seshy-api/config/routes.rb:9:in 'block in \u003ccompiled\u003e'\n/Users/jgreen/projects/seshy-api/config/routes.rb:1:in '\u003ccompiled\u003e'\n/Users/jgreen/projects/seshy-api/config/environment.rb:5:in '\u003ccompiled\u003e'\nTasks: TOP =\u003e active_storage:update =\u003e environment\n(See full trace by running task with --trace)\n```\n\nIt looks like this is the PR responsible for the change on the rails side. https://github.com/rails/rails/pull/53689","author":{"url":"https://github.com/jagthedrummer","@type":"Person","name":"jagthedrummer"},"datePublished":"2026-05-12T19:58:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1488/jsonapi-resources/issues/1488"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f50c5912-1713-ffcb-5ad0-fa37e070cf03 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB76:2D7630:272C97A:35C752B:6A4EF380 |
| html-safe-nonce | 815ad295d669ea59505fd76cc44a19c360c39005e832d6541fa17a1db3cd5a40 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjc2OjJENzYzMDoyNzJDOTdBOjM1Qzc1MkI6NkE0RUYzODAiLCJ2aXNpdG9yX2lkIjoiNjUwMzE0MzE4NzY0NTAzOTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9f89e079041630ec9bf2e80d842f4664f1ff443ff45c3e4237193065c9aa7341 |
| hovercard-subject-tag | issue:4432221553 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JSONAPI-Resources/jsonapi-resources/1488/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5bdbf0c490e99817b705defcdf577790d4f2ee065c317151ed2032ca83c17d94/JSONAPI-Resources/jsonapi-resources/issues/1488 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5bdbf0c490e99817b705defcdf577790d4f2ee065c317151ed2032ca83c17d94/JSONAPI-Resources/jsonapi-resources/issues/1488 |
| og:image:alt | I'm trying to update my app to Rails 8.1.3 and when I run the rails app:update task it fails part way through with this error: ... skip bin/setup rails active_storage:update bin/rails aborted! Argu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jagthedrummer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| go-import | github.com/JSONAPI-Resources/jsonapi-resources git https://github.com/JSONAPI-Resources/jsonapi-resources.git |
| octolytics-dimension-user_id | 262422067 |
| octolytics-dimension-user_login | JSONAPI-Resources |
| octolytics-dimension-repository_id | 18248068 |
| octolytics-dimension-repository_nwo | JSONAPI-Resources/jsonapi-resources |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 18248068 |
| octolytics-dimension-repository_network_root_nwo | JSONAPI-Resources/jsonapi-resources |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b8f23afb982271f1b22258a94aede67a6b77760 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width