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

Convert hashes to indifferent access #211

Closed
wants to merge 2 commits into from
Closed

Convert hashes to indifferent access #211

wants to merge 2 commits into from

Conversation

tfausak
Copy link
Collaborator

@tfausak tfausak commented Aug 14, 2014

Fixes #164.

>> Class.new(ActiveInteraction::Base) { hash :h, strip: false; def execute; h['foo'] end }.run!(h: { foo: 'bar' })
=> "bar"

Can you review this, @AaronLasseigne?

@tfausak tfausak added this to the v2.0.0 milestone Aug 14, 2014
@tfausak tfausak self-assigned this Aug 14, 2014
@tfausak
Copy link
Collaborator Author

tfausak commented Aug 14, 2014

This should be merged into the v2.0.0 branch, which doesn't exist yet.

@AaronLasseigne
Copy link
Owner

I think we'll want to remove stringify_the_symbol_keys and as a result of that, transform_keys.

@tfausak
Copy link
Collaborator Author

tfausak commented Aug 15, 2014

👉 #215

@tfausak tfausak closed this Aug 15, 2014
@tfausak tfausak deleted the gh-164 branch August 15, 2014 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Convert hash values to HashWithIndifferentAccess.
2 participants