#3 new
Baby Diego

Mash conflicting with ExtLib

Reported by Baby Diego | April 14th, 2009 @ 08:05 PM

Trying out retweet (http://github.com/zapnap/retweet/tree/master), when you run rake twitter:status to fetch the results, it throws a "stack level too deep" error.

Examining the issue with retweet's author and others, it was noticed that Mash is conflicting with ExtLib's own notion of a Mash class, which means that this breaks compatibility with anything that uses Extlib, as datamapper does – which was what was causing the problem in the app. As soon as a property is declared in Datamapper::Resource, the error is raised.

It seems to be a matter of namespace. Should I take this up to the ExtLib's team as well?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Mash is an extension of the Ruby Hash object to allow for pseudo-object syntax reminiscent of Javascript objects. It is useful for simple conversion of JSON or XML and also for configuration settings read from YAML.

People watching this ticket