On Apr 6, 5:52 pm, Michael Klishin <[email protected]> wrote: > 2009/4/6 kristian <[email protected]>: > > > there is a restful adapter in datamapper4rails. when I last look at > > the dm-more/adapter is was not in working state. then I had the choice > > between active_resource and datamapper. since datamapper opened the > > possibilty to reuse the "model" classes for either using it against > > the database or against the restful service, I decided to fix the > > adapter. it works a great way, and it works all the way for my project > > now, missing are single resources (one without primary keys or keys) > > and nesting 'has n' children. belongs_to does work as well manually > > implemented 'has n'. but when I looked to contribute the code, I found > > a lot of changes. sorry for duplicating. > > > with regards Kristian > > You need to test things / work against datamapper/dm-more/next >
yes, I could do this, but how can we avoid duplication of work. the current project of mine relies on that restful adapter, and I OK to soend time on that. > master branch is waiting next to be merged in as soon as we feel 0.10 > is ready. Right now I rewrite all the specs in > dm-more, and eventually will get to RESTful adapter. As far as I > remember, there were some changes to it recently > by a couple of Joyent folks. See logs for more details. > > Speaking of transactional action dispatch, it should be easy to do at > the rack middleware layer. I will have a look Kristian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DataMapper" 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/datamapper?hl=en -~----------~----~----~----~------~----~------~--~---
