rails/rails — pull request #12908 by kuldeepaggarwal (2013-11-16 03:04:31+00:00)
Title: handled Infinite recurssion case

`ActiveSupport::Cache.expand_cache_key` may raise `SystemStackError: stack level too deep` exception if key respond_to `to_a` and result itself contains key.