hi

I have a controller

def showagencies
@getdata=Agency.all(:joins=>:contracts,
      :select=>"agencies.*",:conditions=>["contract_id in (?) and
agencies.status =?",contracts.id,1 ])
end


@getdata is not visible in html its lenght is o but has some contents

plz let me know how to access this



-- 
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to