I currently have standard flash messages with the devise gem for success/failure etc. I have added the option to manually close the message with some bootstrap functionality vi
If you've jQuery loaded in the same page, this will work for you
× <%= content_tag :div, msg, :id => "flash_#{name}" %>