Hiya > I pushed http://github.com/snusnu/dm-accepts_nested_attributes/tree/master > the other day. There is also a blogpost at > http://sick.snusnu.info/2009/04/08/dm-accepts_nested_attributes/
I've just been messing with this plugin - you've created it at just the time I needed it so thaaaaankyooou :) I've just patched it so that it'll work on the project I'm developing as it wasn't working correctly for the 'non-standard' has many through associations I was using. Patch is at: http://gist.github.com/94535 [assuming you're looking at my patched version spec fixtures] This patched version will still fail if the associations declared in the Photo class don't match those in the Tag class, so changing the Photo model associations to: has n, :taggings has n, :tags, :through => :taggings will break my added specs. I didn't try to fix this as I don't know if datamapper requires/assumes that there are reciprocal associations that are the same?? Hope this is useful - any questions, just should and thanks again for your most timely coding :) Cheers Rupert --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
