Turning off automatic debug output in Rails
Debug output in all views
This question 开发者_Go百科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.
精彩评论