use arel to make search query portable (uses ILIKE with postgresql for case insensitive search)