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

Move object_with_indifferent_access to ReflexData #500

Conversation

erlingur
Copy link
Contributor

@erlingur erlingur commented May 7, 2021

Type of PR (feature, enhancement, bug fix, etc.)

Bug fix

Description

When code was refactored into new class called ReflexData in 680efc1, the object_with_indifferent_access method was forgotten. It subsequently fails when mapping over data["args"] with the error:

Reflex Users#tag failed: undefined method 'object_with_indifferent_access' for #<StimulusReflex::ReflexData:0x00007fa737e58c98>

Why should this be added

It should work when mapping over arguments.

@leastbad
Copy link
Contributor

leastbad commented May 8, 2021

Great catch!

@leastbad leastbad merged commit b33c216 into stimulusreflex:master May 8, 2021
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.

2 participants