Define scopes if gem is load on a rails app