0.0
No release in over a year
Assign Flash messages as usual in your controllers. Flash-cable will intercept them at the middleware layer and deliver them to the browser via ActionCable. A Stimulus Controller and stylesheet are included to facilitate displaying fancy looking, temporary, dismissible messages to your users.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

FlashCable (WIP)

Flash over ActionCable, a Rails::Engine.

For fancy, SPA-style user notifications, just assign Flash normally in your controllers. FlashCable will intercept them at the middleware layer and deliver them via ActionCable.

Installation

Add this line to your application's Gemfile:

gem 'flash-cable'

And then execute:

$ bundle

Usage

Assign Flash normally in your controllers. (more details to come..)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/OutlawAndy/flash-cable.

License

The gem is available as open source under the terms of the MIT License.