adds cache_key support for rails
specs for cache_key