<commit_before>## Rails 4.0.0 (unreleased) ##

*   Added controller-level etag additions that will be part of the action etag computation *<NAME>/DHH*

      class InvoicesController < ApplicationController
        etag { current_user.try :id }
        
        def show
          # Etag will differ even for the same invoice when it's viewed by a different current_user
          @invoice = Invoice.find(params[:id])
          fresh_when(@invoice)
        end
      end

*   Add automatic template digests to all CacheHelper#cache calls (originally spiked in the cache_digests plugin) *DHH*

*   When building a URL fails, add missing keys provided by Journey. Failed URL
    generation now returns a 500 status instead of a 404.<commit_msg>Fix Markdown rendering of 'controller-level etag additions' feature<commit_after>## Rails 4.0.0 (unreleased) ##

*   Added controller-level etag additions that will be part of the action etag computation *<NAME>/DHH*

        class InvoicesController < ApplicationController
          etag { current_user.try :id }

          def show
            # Etag will differ even for the same invoice when it's viewed by a different current_user
            @invoice = Invoice.find(params[:id])
            fresh_when(@invoice)
          end
        end

*   Add automatic template digests to all CacheHelper#cache calls (originally spiked in the cache_digests plugin) *DHH*

*   When building a URL fails, add missing keys provided by Journey. Failed URL
    generation now returns a 500 status instead of a 404.
{'fraction_non_alphanumeric': 0.06144890038809832, 'fraction_numerical': 0.01164294954721863, 'mean_word_length': 2.9164556962025316, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4190806', 'n_tokens_mistral': 435, 'n_tokens_neox': 394, 'n_words': 174}