On 28.01.2009, at 2:13, Gary wrote:
> Your example is exactly what we have, and it doesn't work in repo > blocks. This is because default_repository_name is a last resort. When you use repository method with a block, new context is pushed on top of the stack, and taken from there by subsequent operations. To override this, you need one more nested block. I see no other solution to the problem with contexts stack and parallel access to multiple repositories, at least not now. MK --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
