Hi everyone, I'm just starting a new project and it needs this type of structure: an item has a brand and the brand has a number of models. ( e.g. The item might be an Advert for a Honda ( brand ), Civic ( model ) So in the admin maintenance I need to set up all the brands and models I need. In the public area there needs to be a selection first for the brand then the model selection, which will only show the models for the selected brand. In the advert table I could just have a belongs_to model ( as the model belongs_to :brand ). But I'm not sure of the best approach. Hope this makes sense. Also can someone point me in the right direction to do the model drop down selection based on the previous selected brand ? TIA - Dave P.
on 2007-05-29 09:54
on 2007-05-29 16:53
on 2007-05-30 03:48
Thanks Bill, I'll work through that over the next few days and let youi know how I go. regards, Dave