static public Method

Fragments.included(base)

There's no documentation for this item.

Source Code

# File action_controller/caching/fragments.rb, line 29
def self.included(base) #:nodoc:
  base.class_eval do
    class << self
      def fragment_cache_store=(store_option) #:nodoc:
        ActiveSupport::Deprecation.warn('The fragment_cache_store= method is now use cache_store=')
        self.cache_store = store_option
      end

      def fragment_cache_store #:nodoc:
        ActiveSupport::Deprecation.warn('The fragment_cache_store method is now use cache_store')
        cache_store
      end
    end

    def fragment_cache_store=(store_option) #:nodoc:
      ActiveSupport::Deprecation.warn('The fragment_cache_store= method is now use cache_store=')
      self.cache_store = store_option
    end

    def fragment_cache_store #:nodoc:
      ActiveSupport::Deprecation.warn('The fragment_cache_store method is now use cache_store')
      cache_store
    end
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.