Ruby Assocations

Hi

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
equalled

how to do this.

Regards,
Rajkumar

On Tue, Apr 27, 2010 at 1:49 PM, Rajkumar S.
[email protected] 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.

Cheers
R.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs