hi
I have one table called agencies_contract
i need to get data from this table
agency_id    contract_id
    1                    1
so i need to display agency_id equivalent to 1 and contract_id equivalent to
1
this table has habtm relation
how do i need to write query for this
any idea
Plz help
-- 
Karthik.k
Mobile - +91-9894991640
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---