On Tue, Dec 9, 2008 at 12:42 PM, pirkka <[EMAIL PROTECTED]> wrote: > > PROBLEM FIXED by using > > @donkey = Donkey.create(:user => current_user, :name => params > [:name], :created_at => Time.now, :barn => @barn) > > instead of > > @donkey = @barn.donkeys.create(:user => current_user, :name => params > [:name], :created_at => Time.now)
Are you able to reproduce this with a simple test case? If this slowness is caused by DM it's definitely a bug offcourse. I haven't seen this happening myself btw, even though i've used both styles of object creation. -- Regards, Dirkjan Bussink --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
