1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib
Aaron Patterson 3239ed48d2 move digest cache on to the DetailsKey object
This moves digest calculation cache on to the details key object.
Before, the digest cache was a class level ivar, and one of the keys was
the hash value of the details key object:

  13c4cc3b5a/actionview/lib/action_view/digestor.rb (L28)

An object's hash value is not unique, so it's possible for this cache
key to produce colliding keys with no resolution.  This commit move
cache on to the details key object itself, so we know that the digests
are always unique per details key object.
2016-02-18 08:23:26 -08:00
..
action_view move digest cache on to the DetailsKey object 2016-02-18 08:23:26 -08:00
action_view.rb Update copyright notices to 2016 [ci skip] 2015-12-31 18:27:19 +02:00