Ruby Assocations

R

Rajkumar Surabhi

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
 
R

Robert Dober

On Tue, Apr 27, 2010 at 1:49 PM, Rajkumar Surabhi
<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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,156
Messages
2,570,878
Members
47,408
Latest member
AlenaRay88

Latest Threads

Top