<%= debug(headers) %>--在视图中显示伴随请求的头部信息
<%= debug(params) %>--在视图中显示请求中的参数
<%= debug(assigns) %>--在视图中显示Rails发送的内容
还有很多debug参数在默写特定情况下很实用,包括:base_path、controller、flash、request、response和session