NoMethodError: undefined method `y' for main:Object
If you want to use the y method to inspect an object in yaml format. Whenever you bring up rails console in development, you can inspect any object. Just add the following line to your development.rb: