From: Sam Ginko Date: 2008-08-12T09:42:46+09:00 Subject: ActiveRecord error with Rails 2.1.0 using include statement 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/.