Ruby on Rails Discussions
pretty-printing (or otherwise) a hash in a view template
rubyonrails-talk
James_Moore1
(James Moore)
October 29, 2007, 8:29pm
1
Give to_yaml a shot. It's a very readable way to dump ruby objects.
Related topics
Topic
Replies
Views
Activity
How to debug a varible/collection/array
rubyonrails-talk
3
245
September 11, 2007
[RoR],[C.L.R]Generating HTML to help visualize large YAML files
rubyonrails-talk
0
138
March 1, 2007
how to format '.inspect' output?
rubyonrails-talk
2
301
January 17, 2007
generate serialized attribute in fixture
rubyonrails-talk
2
179
September 9, 2008
Output String while expecting hash
rubyonrails-talk
1
111
March 5, 2010