On Jan 28, 2010, at 8:57 am, Ingo wrote: > Hi all, shouldn't the last line of the below code return true with > identity map working? Do I need to switch identity map for a given > model on somewhere?
You don't get an idmap automatically, you have to wrap your code with: repository(:default) do # ... end HTH Ashley -- http://www.patchspace.co.uk/ http://www.linkedin.com/in/ashleymoran -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To post to this group, send email to datamap...@googlegroups.com. To unsubscribe from this group, send email to datamapper+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.