Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: kungpoo
Just been doing something very similar with EventMachine as I wanted to interface directly with AS3 over sockets.
I'll have to dig around this bayeux protocol and see if Faye can do the job easier.