Woops, forgot to actually add active_support/core_ext/file/path.rb

This commit is contained in:
Carlhuda 2010-02-23 17:42:14 -08:00
parent 24ab5665b2
commit 47498a7f59
3 changed files with 7 additions and 0 deletions

1
.gitignore vendored

@ -19,3 +19,4 @@ railties/tmp
bin
.bundle
pkg
*.gem

@ -0,0 +1,5 @@
class File
unless File.allocate.respond_to?(:to_path)
alias to_path path
end
end

@ -19,6 +19,7 @@ def setup
"Rack::Runtime",
"Rails::Rack::Logger",
"ActionDispatch::ShowExceptions",
"Rack::Sendfile",
"ActionDispatch::Callbacks",
"ActionDispatch::Cookies",
"ActionDispatch::Session::CookieStore",