-
Notifications
You must be signed in to change notification settings - Fork 440
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
JBuilder 2.11.3: "NoMethodError Exception: undefined method empty?
for PG::Result"
#516
Comments
cc @yuki24 |
#524 should address this issue. |
Unfortunately there is a little incompatibility introduced by #501. I have removed the |
Not sure I fully understand the issue? The enumerable passed in much implement #length or #size? |
yeah, I'm seeing that in the test run when upgrading to 2.11.4 that it's still failing when attempting to render a PG::Result.
Edit: looks like there's some relevant discussion in #514 about how before it would work on anything implementing |
When rendering records returned by SQL JBuilder fails with
Simplified example:
Ruby Version: 3.0.2p107
Jbuilder Gem Version: 2.11.3
PG Gem Version: 1.2.3
The text was updated successfully, but these errors were encountered: