ruby on rails - Impossible to delete a flash -


i made mistake before migrating plugin, , have written

flash[:notice] = :label_presta_added 

instead of

flash[:notice] = l(:label_presta_added) 

i corrected mistake seems redmine plugin has trashed redmine. though delete plugin migrate once again, still error:

    started "/" 127.0.0.1 @ 2016-06-01 22:21:37 +0200 processing welcomecontroller#index html   current user: admin (id=1)   rendered welcome/index.html.erb within layouts/base (28.1ms) completed 500 internal server error in 366ms (activerecord: 116.0ms)  actionview::template::error (undefined method `html_safe' :label_presta_added:symbol did mean?  html_safe?):      97:     <div id="sidebar">      98:         <%= yield :sidebar %>      99:         <%= view_layouts_base_sidebar_hook_response %>     100:     </div>     101:      102:     <div id="content">     103:         <%= render_flash_messages %>   app/helpers/application_helper.rb:312:in `block in render_flash_messages'   app/helpers/application_helper.rb:311:in `render_flash_messages'   app/views/layouts/base.html.erb:100:in `_app_views_layouts_base_html_erb__4104276684161420982_39604440'   lib/redmine/sudo_mode.rb:63:in `sudo_mode' 

can give me hand here? in advance!

this stored in session, changing session secret key invalidate sessions , discard old session data.

you can try , rescue clear out one-time deal.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo