Module: ActionController::CachingTracker
- Defined in:
- lib/action_controller/caching_tracker.rb
Defined Under Namespace
Modules: TrackPages
Class Method Summary collapse
-
.included(base) ⇒ Object
Tracks what is being cached.
Class Method Details
.included(base) ⇒ Object
Tracks what is being cached. There are three types of Caching in Rails: Page, Action, Fragment. Currently, only Page Caching is tracked but this could be extended to track Action and Fragment caching.
5 6 7 |
# File 'lib/action_controller/caching_tracker.rb', line 5 def self.included(base) #:nodoc: base.class_eval { include TrackPages } end |