How I can disable all Devise gem flash messages ("successfully signed in","you logged out")? Thanks.
Probably the easiest way to do this is to
In your devise.en.yml
file, specify each message as empty:
en:
errors:
messages:
not_found: ''
already_confirmed: ''
not_locked: ''
etc. Next, in your layout, check for blank flash strings before you output them.
<% flash.each do |key, value| %>
<%= content_tag :div, value, :class => "flash #{key}" unless value.blank? %>
<% end %>