Rails 3.x 是否有调试工具栏
我一年多前使用过 Rack::Bug ,现在我想将它与一个新的 Rails 3.1 项目。我尝试安装 master 和 Rails3 分支,但没有成功。
还尝试了 一些 github 分支,但它们也不起作用。
有没有具有相同功能的替代方案?
PS我已经知道newrelic及其开发者模式,只是在寻找其他东西,更类似于 Rack::Bug
这里有一个小屏幕截图,展示了它的功能(带有调试信息的绿色工具栏)
I used Rack::Bug more than one year ago, now I'd like to use it with a new Rails 3.1 project. I tried to install it, both the master and rails3 branches, but with no luck.
Also tried some github forks but they did not work either.
Is there any alternative with the same features?
P.S. I already know newrelic and its developer mode, just looking for something else, more similar to Rack::Bug
Here is a little screen shoot of what is capable of (the green toolbar with debugging informations)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
机架错误似乎已修复,rails3 分支在 3.1.1 上适用于我
Rack bug seems to e fixed, rails3 branch works for me on 3.1.1
刚刚找到 rails-footnotes
优点:
缺点:
ActiveRecord
实例化信息。在查找内存泄漏时非常有用。SHOW FIELDS FROM table SCHEMA
和SHOW TABLES
之类的查询,@_response_body
和@_view_renderer
对象(其中包括很多信息)仍在寻找其他内容,任何提示都值得赞赏。
Just found rails-footnotes
Pro:
Cons:
ActiveRecord
instantiation informations. Very useful when looking for memory leaks.SHOW FIELDS FROM table SCHEMA
andSHOW TABLES
@_response_body
and the@_view_renderer
object (which include a lot of informations)Still looking for else, any hint is appreciated.
查看迷你分析器,它与 StackExchange 上使用的相同(除了移植到 Ruby)。 http://railscasts.com/episodes/368-miniprofiler?view=asciicast
Check out mini profiler, it's the same one used on StackExchange (except ported to Ruby). http://railscasts.com/episodes/368-miniprofiler?view=asciicast