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?
–
Dheeraj K.
Why? To lazy to write it
Feature:
RailsFlash.warn(“some message”); // Insert div with bootstrap class and
message
El 15/01/13 13:05, Dheeraj K. escribi:
Clearly, you’re too lazy to even search for it.
–
Dheeraj K.
Hey,
I would suggest probably wrapping this thing up with some javascript
assets
to give you access to an object you can call to say “Give me them
messages”.
Think about using an engine.
~Johnneylee
On Tue, Jan 15, 2013 at 11:36 AM, Antonio Tapiador del Dujo <
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 looking
for is a javascript for creating them in client-side.
El 15/01/13 17:42, Dheeraj K. escribi:
This is what I am looking for
El 15/01/13 17:42, Johnneylee Rollins escribi:
I ended up creating the gem for lazy people like me:
http://rubygems.org/gems/flashy
El mircoles, 16 de enero de 2013 11:41:06 UTC+1, atd escribi: