[Rails] Re: Problem with exists? method

2012-06-19 Thread cyber c.
Hi Frederick, Activeresource exists doesnt support conditions i think . Even i got confused by activerecord and activeresource exists method. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To

[Rails] Re: Problem with exists? method

2012-06-19 Thread Frederick Cheung
On Jun 18, 9:57 pm, Colin Law wrote: > On 18 June 2012 21:05, cyber c. wrote: > > > Hi, > > > I have a DB with table TABLENAME, column COLUMN and an active resource > > client trying to connect to the DB. When i do > > > Tablename.find(:all) => i get all the entries from the table > > But Table

[Rails] Re: Problem with exists? method

2012-06-18 Thread cyber c.
Im sorry i have looked at wrong documentation. I have to use find(:all, :params) -- Posted via http://www.ruby-forum.com/. -- 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@googlegrou