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%
so i get this answer for more than 1 parameter:
wrong number of bind variables (1 for 2) in: title OR description LIKE
? AND title OR description LIKE ?
--
Posted via http://www.ruby-forum.com/.