简体   繁体   English

关闭Rails中的自动调试输出

[英]Turning off automatic debug output in Rails

Debug output in all views 在所有视图中调试输出

This question shows my problem, but there was no real answer given. 这个问题显示了我的问题,但没有给出真正的答案。 Is there a way to simply turn off the automatic debug output in Rails? 有没有办法简单地关闭Rails中的自动调试输出?

I found the issue. 我发现了这个问题。 I had written this: - flash.each do |key, value| 我写过: - flash.each do |key, value| instead of = flash.each do |key, value| 而不是= flash.each do |key, value| Subtle difference, but it makes all the difference. 微妙的差异,但它使所有的差异。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM