Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Commit

Permalink
Woops, forgot to actually add active_support/core_ext/file/path.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlhuda committed Feb 24, 2010
1 parent 24ab566 commit 47498a7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ railties/tmp
bin
.bundle
pkg
*.gem
5 changes: 5 additions & 0 deletions activesupport/lib/active_support/core_ext/file/path.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
class File
unless File.allocate.respond_to?(:to_path)
alias to_path path
end
end
1 change: 1 addition & 0 deletions railties/test/application/middleware_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def setup
"Rack::Runtime",
"Rails::Rack::Logger",
"ActionDispatch::ShowExceptions",
"Rack::Sendfile",
"ActionDispatch::Callbacks",
"ActionDispatch::Cookies",
"ActionDispatch::Session::CookieStore",
Expand Down

0 comments on commit 47498a7

Please sign in to comment.