aothman,

> So I have this method which runs fine + snappy with explicit in-memory
> data structures, but I've put it into datamapper and it just takes
> forever.

You may be hitting a bug with dm-core 0.10.2. It is worked around in
edge dm-core (in git), but I have to design a "proper" fix to the
problem which will probably take me a few weeks to write and fully
test. The solution is non-trivial and involves managing dependencies
between resources being created and updated, validations, before/after
filters, and FK setting.

Try updating to edge dm-core and see if that fixes your problem.
Alternatively, try turning off all your before() and after() filters
and see if that resolves the issue.

--

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