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

Fix compatibility with JBuilder 2.11.3 #1757

Merged
merged 1 commit into from
Nov 24, 2021
Merged

Conversation

tf
Copy link
Member

@tf tf commented Nov 24, 2021

Turn page_types into array since JBuilder
2.11.3 (rails/jbuilder#501) requires
collection to respond to empty?, which Enumerable does not
provide. See also rails/jbuilder#514

REDMINE-19357

@tf tf added this to the v15.7 milestone Nov 24, 2021
Turn enumerables into arrays since JBuilder
2.11.3 (rails/jbuilder#501) requires
collection to respond to `empty?`, which `Enumerable` does not
provide. See also rails/jbuilder#514

REDMINE-19357
@tf tf merged commit 926b297 into codevise:master Nov 24, 2021
@tf tf deleted the jbuilder-2-11-3 branch November 24, 2021 13:30
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