Skip to content

Explicitly require active_support/core_ext/array/conversions#2144

Merged
dblock merged 1 commit intoruby-grape:masterfrom
anakinj:activesupport61-fix
Dec 29, 2020
Merged

Explicitly require active_support/core_ext/array/conversions#2144
dblock merged 1 commit intoruby-grape:masterfrom
anakinj:activesupport61-fix

Conversation

@anakinj
Copy link
Contributor

@anakinj anakinj commented Dec 28, 2020

Grape is not explicitly loading the activesupport parts that are required for Array#to_xml. Because of this the Array serialization to XML breaks when activesupport 6.1 is taken into use.

The commit that deletes what previously was requiring the parts that Grape relies on is this rails/rails@12959de#diff-f805b1a36e26831e5eee78fb55549de44fb842f78443b178d5d5438105152017

@grape-bot
Copy link

1 Warning
⚠️ There’re library changes, but not tests. That’s OK as long as you’re refactoring existing code.

Generated by 🚫 danger

@dblock dblock merged commit 5438e95 into ruby-grape:master Dec 29, 2020
@dblock
Copy link
Member

dblock commented Dec 29, 2020

👍

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.

3 participants