In PHP you can do:
print_r($var) or vardump($var)
which prints \"human-readible\" information about variable.
Is there equ
Check out the guide for debugging rails: http://guides.rubyonrails.com/debugging_rails_applications.html
hints: script/console is great to try stuff in the context of your app script/server --debugger to start the server with a debugger turned on, you can then use 'debug' in your code to break into an interactive shell