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
Written by Rob Volk
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#