Ive been working with dm constraints over the past few days. Ive got them working now, except with anonymous relationships . . . is anyone using dm-constraings with :through => Resource...
I found the source of 'the problem' unless Im misusing them . . . it seems that when you have a many to many relationship through an anonymous resource model.many_to_one_relationships doesn't return the relationship to that anonymous resource (by design?), but this is how dm-constraints adds constraints... I wanted to take a crack at fixing it, but i wasn't sure if it was a bug in dm-core, or if dm-constraints should do a pass through many_to_many_relationships and see if it is through an anonymous resource. Thoughts? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
