Return cache key in rails format