RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: matthewrobertson
I just want to point out that using eval to execute anything that comes over the channel is really insecure and opens you up to XSS attacks.
Also, Ryan forgot to delete the FAYE_TOKEN from outgoing messages in his Faye extension, so anyone who connects to his chat app could execute arbitrary code on all of the connected clients...