简体   繁体   中英

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?

I found the issue. I had written this: - flash.each do |key, value| instead of = flash.each do |key, value| Subtle difference, but it makes all the difference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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