Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: jtmkrueger
This code is fantastic. Ryan, thanks for making a somewhat complicated concept appear so simple! I had spent half a day trying to get this to work another way, but railscasts came to the rescue!