method

save_block_result_to_cache

Importance_0
save_block_result_to_cache(name, options) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache.rb, line 1055
        def save_block_result_to_cache(name, options)
          options = options.dup

          result = instrument(:generate, name, options) do
            yield(name, WriteOptions.new(options))
          end

          write(name, result, options) unless result.nil? && options[:skip_nil]
          result
        end
Register or log in to add new notes.