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

ArgumentError - tried to create Proc object without a block #269

Open
Fedrius opened this issue Apr 21, 2023 · 0 comments
Open

ArgumentError - tried to create Proc object without a block #269

Fedrius opened this issue Apr 21, 2023 · 0 comments

Comments

@Fedrius
Copy link

Fedrius commented Apr 21, 2023

gon version: 6.4.0
Ruby version: 3.0.0
Rails version: 6.0.6

The error "ArgumentError - tried to create Proc object without a block" appears when <%= include_gon(init: true) %> is added on the main application.html.erb layout file.

Updating the dependency multi_json to version 1.15 appeared to resolve the issue. Looks like the issue was fixed in version 1.14.1
intridea/multi_json@26a94ab

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

No branches or pull requests

1 participant