Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: cailinanne
Note - this episode was written around version 0.6.x of the faye gem. If you're trying to upgrade to a current version (0.8.7 at time of writing) then you'll need to do the following:
First, add the following to your Gemfile
Second, add the following to your faye.ru file right after the require statements.
However, you didn't show how you would go about including the /admin js files when viewing an admin view. How would you do that?