change scopes using ILIKE to use arel so sqlite works. related to gh-272