Skip to content

Commit

Permalink
Fixed fragment caching of binary data on Windows (closes #4493) [bell…
Browse files Browse the repository at this point in the history
…is@deepthought.org]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Apr 1, 2006
1 parent 12c5287 commit dc87eba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions actionpack/CHANGELOG
@@ -1,5 +1,7 @@
*SVN* *SVN*


* Fixed fragment caching of binary data on Windows #4493 [bellis@deepthought.org]

* Applied Prototype $() performance patches (#4465, #4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs] * Applied Prototype $() performance patches (#4465, #4477) and updated script.aculo.us [Sam Stephenson, Thomas Fuchs]


* Added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images when Action Controller is run under Rails [DHH]. Example: * Added automated timestamping to AssetTagHelper methods for stylesheets, javascripts, and images when Action Controller is run under Rails [DHH]. Example:
Expand Down
2 changes: 1 addition & 1 deletion actionpack/lib/action_controller/caching.rb
Expand Up @@ -416,7 +416,7 @@ def write(name, value, options = nil) #:nodoc:
end end


def read(name, options = nil) #:nodoc: def read(name, options = nil) #:nodoc:
IO.read(real_file_path(name)) rescue nil File.open(real_file_path(name), 'rb') { |f| f.read } rescue nil
end end


def delete(name, options) #:nodoc: def delete(name, options) #:nodoc:
Expand Down

0 comments on commit dc87eba

Please sign in to comment.