Take a look here: http://railscasts.com/episodes/103-site-wide-announcements
Darian Shimy -- http:/www.darianshimy.com http://twitter.com/dshimy On Mon, Nov 16, 2009 at 1:19 PM, Jamie <[email protected]> wrote: > > I've created a model that I plan to use to store messages that I want > to be broadcast on every page of my application. I'm storing the > message text, a class name for css styling, and a start and end > timestamp that I want it to display between. > > I was trying to find a way to insert these items into my > application.html.erb layout template so that I don't have to include > something in every single view. There is also a controller set up for > the message items. Hopefully someone can help me with this, let me > know if you need any more info. > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

