Up: If it's true:
"You wan to display a very complex object, you have a very complex result."
How I could make easier the output?
I wanna pretty print @_controller and what I see:
<%= debug @_controller %>
2.<%= simple_format @_controller.to_yaml %>
error: "can't dump anonymous module: #"
<%= @_controller.inspect %>
<%= raw ap(@_controller) %>
Is there are way to pretty print this object (@_controller)?
Like echo '<pre>';print_r($object);echo '</pre>';
in php?
Thx a lot!!!
I found an answer by myself, its ok for me to print controller.methods and controller.instance_variables
Thx a lot!