Generally we want to avoid SQL fragments in our Rails code when we could express the same thing using ActiveRecord methods. In this case it could be `Bookmark.where.not(category: [nil, '']).order(:title)`