Faye is a subscription/publishing server which makes it easy to do push notifications within a Rails app.

Read more at the source