Changeset 3115
- Timestamp:
- 11/21/05 01:08:30 (3 years ago)
- Files:
-
- trunk/actionpack/CHANGELOG (modified) (1 diff)
- trunk/actionpack/lib/action_controller/caching.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/actionpack/CHANGELOG
r3111 r3115 1 1 *SVN* 2 3 * Improve expire_fragment documentation. #2966 [court3nay@gmail.com] 2 4 3 5 * Correct docs for automatic layout assignment. #2610. [Charles M. Gerungan] trunk/actionpack/lib/action_controller/caching.rb
r3054 r3115 307 307 # * String: This would normally take the form of a path like "pages/45/notes" 308 308 # * Hash: Is treated as an implicit call to url_for, like { :controller => "pages", :action => "notes", :id => 45 } 309 # * Regexp: Will destroy all the matched fragments, example: %r{pages/\d*/notes} 309 # * Regexp: Will destroy all the matched fragments, example: %r{pages/\d*/notes} Ensure you don't use specify start and finish in your regex (^$) because the actual filename matched will look like ./cache/filename/path.cache 310 # 310 311 def expire_fragment(name, options = nil) 311 312 return unless perform_caching