@businesses = Business.find(:all, :conditions => ['name LIKE ?
or description LIKE ?',
"%#{params[:search]}%",
"%#{params[:search]}%"], :order => 'name')
i tried %?params% but no luck.
Right now it just finds apples instead of apples from applesauce
@search = params[:search]
@businesses = Business.find(:all, :conditions => ['name LIKE ? or description LIKE ?', "%" + @search + "%","%" + @search + "%"], :order => 'name')