In PHP you can do:

print_r($var) or vardump($var)

which prints "human-readible" information about variable.

Is there equivalent functions / helpers for those in Ruby / Rails ?

Edit
Report