[COOK-2914] Fix foodcritic warnings

- Unnecessary variable interpolation
- Symbols to strings for attribute access