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

Objects that extend Hashie::Mash get turned back into Hashie::Mash objects upon assignment #1

Closed
moonmaster9000 opened this issue Dec 23, 2009 · 3 comments

Comments

@moonmaster9000
Copy link

hi, love the gem, but i found a small problem:

steps to reproduce:

irb(main):003:0> require 'hashie'
=> true
irb(main):004:0> class Record < Hashie::Mash
irb(main):005:1> end
=> nil
irb(main):006:0> r = Record.new
=> <#Record>
irb(main):007:0> r.child = Record.new
=> <#Record>
irb(main):008:0> r
=> <#Record child=<#Hashie::Mash>>

expected behavior: r.child would not get transformed back into a Hashie::Mash object.

@andrehjr
Copy link
Contributor

@moonmaster9000
Copy link
Author

awesome, thanks man. u gonna release a patch version for that?

@mbleigh
Copy link
Contributor

mbleigh commented Jan 15, 2010

I pulled in the commit for this, thanks!

kgrz pushed a commit to kgrz/hashie that referenced this issue Jun 14, 2014
Fix SystemStackError in IndifferentAccess
This issue was closed.
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

3 participants