RubyGems.org

unobtrusive_flash takes your flash messages for the backend and automagically passes them to the frontend via HTTP cookies. This works with both regular page loads and AJAX requests, does not tamper with the page body and requires about 3 extra lines of code in your app - how's that for unobtrusive?

installgem install unobtrusive_flash
Authors

Leonid Shevtsov

15,321 total downloads 754 for this version
Owners

777894ea5153122bfa6b83f5bbf23622

Gemfile
gem 'unobtrusive_flash', '~> 3.1.0'
Versions
  1. 3.1.0 June 23, 2014 (10 KB)
  2. 3.0.0 March 7, 2014 (9.5 KB)
  3. 2.1.0 December 21, 2013 (9 KB)
  4. 2.0.0 October 9, 2013 (8.5 KB)
  5. 0.0.2 November 17, 2010 (6 KB)
Show all versions (6 total)
Runtime Dependencies
  1. railties >= 0
Ruby Dependency
  1. >= 0