i have one query, which gives the correct output in query browser.
* @getquery = Cname.select("cnames.name").where('skills.rate= ? AND
skills.skill= ?',3,@searchstring).joins('JOIN skills ON cnames.id =
skills.company_id')*
* *when i print the @getquery, it gives
#<Cname:0x00000003f511f0>
#<Cname:0x00000003e8aa28>* *
*
*
*how to get the name from this **@getquery?*
*
*
*Thanks*
on 2012-06-25 17:16
on 2012-06-25 17:23
@getquery.name -- Oscar Del Ben Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
on 2012-06-25 17:27
On Monday, 25 June 2012 20:51:53 UTC+5:30, Oscar Del Ben wrote: > > @getquery.name > > Thanks..... that time @getquery.name gives the output *Cname*
on 2012-06-25 17:47
On Monday, 25 June 2012 20:56:45 UTC+5:30, amruby wrote: > > > > On Monday, 25 June 2012 20:51:53 UTC+5:30, Oscar Del Ben wrote: >> >> @getquery.name >> >> > > Got the result
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.