From: Rajkumar Surabhi on

in my project i have 2 tables logins and sentitems.
these 2 have 1-many relation ship. The primay key in login table is
cust_id and i have defined the relational key other than conventional
name which is login_id.

i want to count the no of records in sentitems which have the cust_id

how to do this.

Posted via

From: Robert Dober on
On Tue, Apr 27, 2010 at 1:49 PM, Rajkumar Surabhi
<mailtorajuit(a)> wrote:
<Please look for help on the Ruby On Rails ML, this is the Ruby Ain't
Rails ML (sigh)
I am sure you will get appropriate help there.


The best way to predict the future is to invent it.
-- Alan Kay