changing scopes and friendly id for models