ActionView::Helpers::DebugHelper

module ActionView::Helpers::DebugHelper

Included modules:
ActionView::Helpers::TagHelper

Public Instance Methods

debug(object) Show source

Returns a YAML representation of object wrapped with <pre> and </pre>. If the object cannot be converted to YAML using to_yaml, inspect will be called instead. Useful for inspecting an object at the time of rendering.

@user = User.ne