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

Remove the unwanted #empty call on the collection #524

Merged
merged 1 commit into from
Dec 17, 2021

Conversation

yuki24
Copy link
Contributor

@yuki24 yuki24 commented Dec 17, 2021

Fixes #514. Also fixes #516.

This PR removes the #empty? method call so it wouldn't make any extra DB calls and any objects that confirms to the Enumerable module should be compatible with jbuilder again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants