Martin,

> I can confirm the behavior you get from your gist. I'm not yet sure
> though if that is supposed to work anyway. Here's a probably more
> idiomatic way to write your stuff:http://pastie.org/639450

I agree that this is more idiomatic approach to the problem.  It shows
a beautiful example of how "named scoped"-like behavior can be
implemented using DataMapper, without any special DSLs and natural
ruby code.

--

Dan
(dkubb)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to