Nicholas Orr wrote: > Yeap. I tried this one on and came up with something. I've implemented > most of it. > > http://gist.github.com/35835 > > What I'm having trouble with now is: > > how to get n rates associated with a rate_plan & a productlender > > I think I need another table that is just a group of rates - but that > is what the rate_plan table is suppose to be.. > > It looks like the table you are talking about is the rates table. The rate should be associated with the product, supplier, and the rate_plan.
I don't want to offend you here, but there really doesn't seem to be any really complex relationships with this data, which is probably why you were asked if this was homework. It seems to be quite important data for a company for it to be modeled by someone who is learning how to grasp many to many relationships like this. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
