aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/digestor.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Variants in ActionView::DigestorPiotr Chmolowski2014-03-041-13/+51
| | | | | | | | | | | Take variants into account when calculating template digests in ActionView::Digest. Digestor#digest now takes a hash as an argument to support variants and allow more flexibility in the future. Old-style arguments have been deprecated. Fixes #14242
* add a new local variable to track if digests are being stored, to ensure the ↵Brad Murray2013-10-171-2/+2
| | | | cleanup works correctly
* update digestor code based on reviewBrad Murray2013-10-151-2/+2
|
* Ensure ActionView::Digest.cache is correctly cleaned up whenBrad Murray2013-10-151-6/+6
| | | | ActionView::Resolver.caching = false.
* Bust the template digest cache key when details are changedDaniel Schierbeck2013-09-191-1/+4
| | | | | | Since the lookup details will influence which template is resolved, they need to be included in the cache key -- otherwise two different templates may erroneously share the same digest value.
* Only cache template digests if config.cache_template_loadingJosh Lauer2013-08-061-3/+7
| | | | | | since ActionView::Resolver.caching is set to the same value as config.cache_template_loading only cache template digests if config.cache_template_loading is not falsy fixes issues #10752 and #10791
* AV::Digestor thread safety fixes.thedarkone2013-07-301-9/+29
| | | | | This fixes potential thread safety issues introduced in 09f6fe1. The problem with the original code was that the "recursion-stopping" `nil` values could be seen by other threads.
* Fix "Stack Level Too Deep" error when rendering recursive partialsRafael Mendonça França2013-07-071-3/+7
| | | | | | | When rendering recursive partial Action View is trying to generate the view digest infinitly causing a stack level error. Fixes #11340
* Move actionpack/lib/action_view* into actionview/libPiotr Sarnacki2013-06-201-0/+85