Update cache_methods.rb

Fixing error due to Rails 3.2 commit 7c5ae0a88fc9406857ee362c827c57eb23fd5f95