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
**how to get the name from this **@getquery?
Thanks