removed unecessary gem has_scope