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.
on 2013-01-15 12:16
on 2013-01-15 13:07
Why do you need a gem to manage them? What features would you want the gem to have? -- Dheeraj Kumar
on 2013-01-15 17:37
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 Kumar escribi:
on 2013-01-15 17:43
Clearly, you're too lazy to even search for it. https://gist.github.com/3344628 -- Dheeraj Kumar
on 2013-01-15 17:44
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 <
on 2013-01-16 11:41
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 Kumar escribi:
on 2013-01-16 11:42
This is what I am looking for :-) El 15/01/13 17:42, Johnneylee Rollins escribi:
on 2013-02-20 17:40
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:
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.