Displaying 1 result from an estimated 1 matches for "gmanufactur".
Did you mean:
manufactur
2006 Jun 26
4
Counting Associated Records from MySQL Result
Hey All,
I''m currently working on a Guitar Reviews website and I think i''ve been
coding for way to long and forgot the basics..I''m having trouble doing a
simple SQL method.
I have 2 Tables, 1 for Guitar Manufacturers (gmanufacturers) and 1 for
Guitar Models (gmodels), every model has a manufacturer and every
manufacturer has many models (gmodel belongs_to :gmanufacturer &
gmanufacturer has_many :gmodels). What i''m trying to do is; when I list
all of the gmanufacturers, I want to show how many models each
m...