Skip to content

fix: update overidden signature to match upstream - #606

Closed
ThomasCrambert wants to merge 1 commit into
rails:mainfrom
ThomasCrambert:allow-adding-block-in-collection-with-template
Closed

ThomasCrambert wants to merge 1 commit into
rails:mainfrom
ThomasCrambert:allow-adding-block-in-collection-with-template

Conversation

@ThomasCrambert

Copy link
Copy Markdown

Since rails/rails@107ee64, the signature of collection_with_template has been updated but the override in lib/jbuilder/collection_renderer.rb is still using the old one, resulting in ActionView::Template::Error: wrong number of arguments (given 5, expected 4)

@ThomasCrambert

Copy link
Copy Markdown
Author

Fixed thanks to rails/rails#56140

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant