From: reuben doetsch Date: 2008-08-13T06:17:54+09:00 Subject: Re: ActiveRecord error with Rails 2.1.0 using include statement ------=_Part_87283_11447543.1218575589260 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline rails forum On Mon, Aug 11, 2008 at 8:42 PM, Sam Ginko wrote: > I updated to Rails 2.1.0 and I'm getting an > ActiveRecord::StatementInvalid error on an sql query that was working on > the previous version. A simple call with and include getting data from 2 > tables. I'm not sure why this is happening now. Does anyone know what > might cause this? Thanks in advance. > > @furnii_from_furnii = Furni.find :all, :include => "raider", > :conditions => ""+Furni.conditions_by_like(@search)+" OR " > +Raider.conditions_by_like(@search) + "" > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_87283_11447543.1218575589260--