Granted this is a personal nit, but I'd consider not reusing an existing variable:
```attribs = attributes.dup```