Ruby on rails 错误的flash语句破坏了Redmine插件
我不小心在我的Redmine插件中放了一个错误的flash语句,现在我的整个Redmine都被破坏了。无论我做什么,我都会收到以下不可战胜的错误消息:Ruby on rails 错误的flash语句破坏了Redmine插件,ruby-on-rails,ruby,redmine,redmine-plugins,Ruby On Rails,Ruby,Redmine,Redmine Plugins,我不小心在我的Redmine插件中放了一个错误的flash语句,现在我的整个Redmine都被破坏了。无论我做什么,我都会收到以下不可战胜的错误消息: ActionView::Template::Error (undefined method `html_safe' for :value:Symbol): 54: <div id="sidebar"> 55: <%= yield :sidebar %> 56:
ActionView::Template::Error (undefined method `html_safe' for
:value:Symbol):
54: <div id="sidebar">
55: <%= yield :sidebar %>
56: <%= view_layouts_base_sidebar_hook_response %>
57: </div>
58:
59: <div id="content">
60: <%= render_flash_messages %> app/helpers/application_helper.rb:316:in `block in
render_flash_messages' app/helpers/application_helper.rb:315:in
`render_flash_messages' app/views/layouts/base.html.erb:57:in
`_app_views_layouts_base_html_erb__1290735862753404915_23873920'
我重新启动了WEBrick服务器,但没有用。我玩弄了上面提到的“救援”项目,但真的不知道如何让它发挥作用
有人知道如何修复这个毁灭性的错误吗?仅供参考--手动更改中的密钥:
config/initializers/secret_token.rb
禁用此致命错误,仅供参考--手动更改钥匙:
config/initializers/secret_token.rb
扼杀了这个致命的错误