removed unnecessary return
removed unnecessary parentheses in project scopes and unnecessary allow_nil in permalink validations.