Does anybody knows a gem for managing flash messages? I would want to add messages to the flash div in the client. Bootstrap support is a plus.
Why do you need a gem to manage them? What features would you want the gem to have?
Why? To lazy to write it
Feature: RailsFlash.warn("some message"); // Insert div with bootstrap class
Clearly, you’re too lazy to even search for it.
Think about using an engine.
Thanks for the pointer Dheeraj. However, this is not what I was
asking for. We already have this in our server-side views. What I am
This is what I am looking for
I ended up creating the gem for lazy people like me: