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) + “”

rails forum

reuben doetsch wrote:

rails forum

oops. sorry. I realized it was the wrong place.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs