From c9d1ba41fd1195d4aaece2a4fc5c83273bd835bd Mon Sep 17 00:00:00 2001 From: schneems Date: Wed, 5 Sep 2012 15:51:20 -0700 Subject: Doc: sweepers only work on Active Record Models In response to this rails issue: https://github.com/rails/rails/issues/3729 --- actionpack/lib/action_controller/caching/sweeping.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/lib/action_controller') diff --git a/actionpack/lib/action_controller/caching/sweeping.rb b/actionpack/lib/action_controller/caching/sweeping.rb index 73291ce083..271d5f06b8 100644 --- a/actionpack/lib/action_controller/caching/sweeping.rb +++ b/actionpack/lib/action_controller/caching/sweeping.rb @@ -1,6 +1,6 @@ module ActionController #:nodoc: module Caching - # Sweepers are the terminators of the caching world and responsible for expiring caches when model objects change. + # Sweepers are the terminators of the caching world and responsible for expiring caches when Active Record objects change. # They do this by being half-observers, half-filters and implementing callbacks for both roles. A Sweeper example: # # class ListSweeper < ActionController::Caching::Sweeper -- cgit v1.2.3