From: Scott Date: 2006-03-15T13:23:47+09:00 Subject: Re: Equivalent to ColdFusion's CFDUMP tag in Ruby on Rails? Dont know of anything similar, but you could just: require 'yaml' variable = { "first"=> "1", "second" => nil, "third"=> { "inner third 1" => nil, "inner third 2"=>"yeah" }, "fourth" => nil }
<%= variable.to_yaml %>
Not nearly as fancy though :)