method

included

rails latest stable - Class: ActionController::Caching::SqlCache

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.2.1) is shown here.

included(base)
public

No documentation available.

# File actionpack/lib/action_controller/caching/sql_cache.rb, line 4
      def self.included(base) #:nodoc:
        if defined?(ActiveRecord) && ActiveRecord::Base.respond_to?(:cache)
          base.alias_method_chain :perform_action, :caching
        end
      end