Sha256: 37fd0de3edf0d0e28d546c767e91d468573b1c5951e2aee59dcb4ab9871acb06

Contents?: true

Size: 376 Bytes

Versions: 8

Compression:

Stored size: 376 Bytes

Contents

# Gem.patching('rails', '3.0.0.rc') do
#   require 'action_view/template/resolver'
#   ActionView::Resolver.class_eval do
#     def caching?
#       # @caching ||= !defined?(Rails.application) || Rails.application.config.cache_classes
#       @caching ||= !defined?(Rails.application) || Rails.application.nil? || Rails.application.config.cache_classes
#     end
#   end
# end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
adva-core-0.0.9 lib/patches/rails/template_resolver_caching.rb
adva-core-0.0.8 lib/patches/rails/template_resolver_caching.rb
adva-core-0.0.7 lib/patches/rails/template_resolver_caching.rb
adva-core-0.0.6 lib/patches/rails/template_resolver_caching.rb
adva-core-0.0.5 lib/patches/rails/template_resolver_caching.rb
adva-core-0.0.4 lib/patches/rails/template_resolver_caching.rb
adva-core-0.0.2 lib/patches/rails/template_resolver_caching.rb
adva-core-0.0.1 lib/patches/rails/template_resolver_caching.rb