somewhere I'm missing the solution here: Dealer has many Makes Make has many cars
so dealer id comes in as parameter I can do: dealer = Dealer.get(params[:id]) I can get makes from: makes = dealer.makes but now I want to loop thru makes to get available cars makes.each do |m| avail_cars += m.cars # error here end but how do I concatenate each pass of make to get the total list of avail_cars ? thks for any help. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
