adds cache_key support for rails
Merge pull request #327 from subvertallchris/rails4-cache_key

adds cache_key support for rails