From: "Jesús Gabriel y Galán" Date: 2010-03-01T20:30:11+09:00 Subject: Re: find params On Thu, Feb 25, 2010 at 10:45 AM, Alex Moreno wrote: > > Thanks a lot for your answer. > > The problem is that map doesn´t add commas, i get: > > title OR description LIKE ? AND title OR description LIKE ? > %pullmantur%%test% > > and i need > > title OR description LIKE ? AND title OR description LIKE ? > %pullmantur%,%test% queryArray.map { |e| "%#{e}%" }.join(",") Jesus.