add scopes in rails 4