javascript flash messages gem?

74 views
Skip to first unread message

Antonio Tapiador del Dujo

unread,
Jan 15, 2013, 6:15:02 AM1/15/13
to rubyonra...@googlegroups.com
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.

Dheeraj Kumar

unread,
Jan 15, 2013, 7:05:42 AM1/15/13
to rubyonra...@googlegroups.com
Why do you need a gem to manage them? What features would you want the gem to have?

-- 
Dheeraj Kumar

On Tuesday 15 January 2013 at 4:45 PM, Antonio Tapiador del Dujo wrote:

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.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonra...@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-ta...@googlegroups.com.

Antonio Tapiador del Dujo

unread,
Jan 15, 2013, 11:36:32 AM1/15/13
to rubyonra...@googlegroups.com
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ó:

Dheeraj Kumar

unread,
Jan 15, 2013, 11:42:00 AM1/15/13
to rubyonra...@googlegroups.com
Clearly, you're too lazy to even search for it.


-- 
Dheeraj Kumar

Johnneylee Rollins

unread,
Jan 15, 2013, 11:42:30 AM1/15/13
to rubyonra...@googlegroups.com
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

Antonio Tapiador del Dujo

unread,
Jan 16, 2013, 5:40:02 AM1/16/13
to rubyonra...@googlegroups.com
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ó:

Antonio Tapiador del Dujo

unread,
Jan 16, 2013, 5:41:06 AM1/16/13
to rubyonra...@googlegroups.com
This is what I am looking for :-)

El 15/01/13 17:42, Johnneylee Rollins escribió:

atd

unread,
Feb 20, 2013, 11:38:48 AM2/20/13
to rubyonra...@googlegroups.com
I ended up creating the gem for lazy people like me:

http://rubygems.org/gems/flashy


El miércoles, 16 de enero de 2013 11:41:06 UTC+1, atd escribió:
This is what I am looking for :-)

El 15/01/13 17:42, Johnneylee Rollins escribió:
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 <atap...@dit.upm.es> wrote:
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ó:
Why do you need a gem to manage them? What features would you want the gem to have?

-- 
Dheeraj Kumar

On Tuesday 15 January 2013 at 4:45 PM, Antonio Tapiador del Dujo wrote:

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.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.
 
 
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages