Rails console 'y' helper returns NameError rather than yaml-formatting output

前端 未结 2 814
醉话见心
醉话见心 2020-12-14 10:44

I\'m trying to use y object in Rails 3.2.6/Ruby 1.9.3 console to get nicely formatted yaml output for an ActiveRecord object, but for some reason it isn\'t work

2条回答
提交回复
热议问题