Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Site-Wide Announcements (revised)

#103 Site-Wide Announcements (revised)

Nov 12, 2012 | 11 minutes | Active Record, Testing, Ajax
Here I show how to add an announcement message at the top of every page in the application and allow the user to permanently hide it. This is all done test-first and even includes testing the JavaScript behavior.