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/action_view
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
..
helpers Test to check if the data-attr if nil is same or not 2016-02-14 16:45:50 +05:30
locale
renderer Prefer empty? to any?. 2016-02-12 23:28:31 +01:00
tasks push kwargs up to the user facing API 2016-02-12 15:40:16 -08:00
template WIP: Errors in logs should show log tags as well. 2016-02-12 23:10:33 +05:30
testing allow :file to be outside rails root, but anything else must be inside the rails view directory 2016-01-22 15:02:27 -08:00
base.rb Fix usage of word alternatively in docs [ci skip] 2015-10-06 23:20:27 +05:30
buffers.rb
context.rb
dependency_tracker.rb sort templates after looking them up in the from the paths cache 2016-02-10 15:44:27 -08:00
digestor.rb move digest cache on to the DetailsKey object 2016-02-18 08:23:26 -08:00
flows.rb
gem_version.rb Preparing for Rails 5.0.0.beta2 2016-02-01 14:37:52 -07:00
helpers.rb
layouts.rb Improve readability of docs by using code tag [ci skip] 2015-09-29 14:44:17 +05:30
log_subscriber.rb
lookup_context.rb move digest cache on to the DetailsKey object 2016-02-18 08:23:26 -08:00
model_naming.rb
path_set.rb allow :file to be outside rails root, but anything else must be inside the rails view directory 2016-01-22 15:02:27 -08:00
railtie.rb debug_missing_translation configuration added to action_view 2015-12-18 22:45:05 +03:30
record_identifier.rb do not use div_for in example [ci skip] 2015-12-22 14:36:24 +09:00
rendering.rb Remove ActionView dependence on ActionPack's Mime implementation 2016-01-17 12:20:52 -05:00
routing_url_for.rb Merge pull request #21894 from abhishekjain16/refactor_with_dry 2015-10-08 14:16:46 -03:00
template.rb Deprecate exception#original_exception in favor of exception#cause 2015-11-03 06:54:34 -08:00
test_case.rb TestController#parameters returns AC::Parameters 2015-12-29 14:40:17 -06:00
version.rb
view_paths.rb