作者热门文章
- xml - AJAX/Jquery XML 解析
- 具有多重继承的 XML 模式
- .net - 枚举序列化 Json 与 XML
- XML 简单类型、简单内容、复杂类型、复杂内容
我刚开始尝试 Unicorn(超过 Thin),到目前为止,我确实喜欢输出的格式,只是它似乎没有显示各种请求的 post 参数。我真的很喜欢这个功能来帮助调试表单等......
unicorn :
20:26:14 web.1 | 127.0.0.1 - - [17/Jan/2012 20:26:14] "POST /basic_simulations HTTP/1.1" 422 24259 0.4838
我想要的...(来自 webrick):
Started POST "/basic_simulations" for 127.0.0.1 at 2012-01-17 20:27:22 -0700
Processing by BasicSimulationsController#create as HTML
Parameters: {"utf8"=>"✓",
"authenticity_token"=>"xxxxx", "basic_simulation"=>{"x1706"=>"1"}, "commit"=>"Submit my answers"}
是否有一些配置选项或类似的东西可以让我打开这个功能?谢谢!
最佳答案
关于ruby-on-rails - 如何让 Unicorn 在开发日志中显示 post 参数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8904849/
我是一名优秀的程序员,十分优秀!