Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 3117

Show
Ignore:
Timestamp:
11/21/05 02:14:31 (3 years ago)
Author:
bitsweat
Message:

Fix grammar error in [3115]. References #2966.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/caching.rb

    r3115 r3117  
    307307      # * String: This would normally take the form of a path like "pages/45/notes" 
    308308      # * 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} 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       #    
     309      # * Regexp: Will destroy all the matched fragments, example: %r{pages/\d*/notes} Ensure you do not specify start and finish in the regex (^$) because the actual filename matched looks like ./cache/filename/path.cache 
    311310      def expire_fragment(name, options = nil) 
    312311        return unless perform_caching