Using OR in a complex condition

:conditions => [( 'LOWER(fullname) LIKE ?) OR (LOWER(city) LIKE ?)','%' + value.downcase + '%','%' + value.downcase + '%']

that doesn't work?

That first parenthesis should probably be inside the quote.

-John