Sample caching app in rails 4