From: Ryan Davis Date: 2009-09-07T16:32:23+09:00 Subject: Re: RoR-Sql query On Sep 6, 2009, at 23:54 , Anandh Kumar wrote: > Hi everyone > > Consider there are three tables book,money,card in database. > > Book has got column names name,price. > > Money has got column names price,type. > > Card has got column names type,id. > > Now based on the 'id' of the 'card' i've to fetch 'name' of the > 'book'. > > So i m writing a query in RoR model as please ask this on the rubyonrails list/forum.