Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: rahul-shrivastava
There is a small issue with the caching mechanism you showed. If the user details is modified by another session , then the cache would not fetch the latest information. In short, there should be a way to invalidate this cache.