Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: marcbelmont
I have built a tool that does that too. It's called http://unused-css.com This service will explore any site and find unused selectors/rules. You will then be able to download the clean CSS file.