Or even easier :)

```ruby
return id.sub %r~^#{name_paramitized}/~, ''
```