Last Updated: February 25, 2016
·
659
· robvolk

Output objects in YAML format from Rails Console

Easily see the values of an object by outputting it to YAML format using the "y" command from the Rails Console.

> y ['netsky', 'sub focus', 'dexcell']
---
- netsky
- sub focus
- dexcell