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

"You are setting a key that conflicts with a built-in method Hashie::Mash#object_id defined in Kernel. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method." #39

Closed
stevenmaguire opened this issue Oct 10, 2017 · 3 comments

Comments

@stevenmaguire
Copy link

A recent build of our project that includes this gem has emitted this Hashie warning.

"You are setting a key that conflicts with a built-in method Hashie::Mash#object_id defined in Kernel. This can cause unexpected behavior when accessing the key via as a property. You can still access the key via the #[] method."

Have you experienced the same?

@taylorbrooks
Copy link
Owner

Yes, I'm debating removing Hashie altogether because of it's memory bloat.

@stevenmaguire
Copy link
Author

Oh? I am happy to have less memory bloat :)

@taylorbrooks
Copy link
Owner

v3.0.0 removes Hashie and fixes this error.

The bump to v3.0.0 is a breaking change so test before you integrate.

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

No branches or pull requests

2 participants