Displaying 1 result from an estimated 1 matches for "cliend_id".
2006 Jan 29
16
counting rows via associations
Hi:
I have a table called clients and each client has many lists (a  
has_many and belongs_to has been created in the class.
What I need to do is get a count of the rows in each list for each  
client.  I was hoping I could do something like
client.lists.count  but it does not seem to work.  Any suggestions?
bruce