I have an app that I just upgraded from 1.0.? to 1.0.6.1 and then to 1.0.7. (Sorry I can't be more specific about where I was coming from, but this is a fun side project that I work on when I have time.) I am using datamapper 0.9.7. A whole bunch of the passing specs are now choking on the resource helper when it is passed an instance of a model. What appears to be happening is that the to_s method is inserted into the url, not the id. I thought maybe there was an issue with testing process, but I it is happening in the app in development too.
I can't figure out if this is an issue with datamapper or merb. In fact, I am having an embarrassingly difficult time tracking how the resource helper works. It looks like there are identical methods in the merb and abstract controllers that repackage the arguments and send them on to Merb.Router.resource, which appears to return an array. Any help would be appreciated. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
