Woops, forgot to actually add active_support/core_ext/file/path.rb
This commit is contained in:
parent
24ab5665b2
commit
47498a7f59
1
.gitignore
vendored
1
.gitignore
vendored
@ -19,3 +19,4 @@ railties/tmp
|
||||
bin
|
||||
.bundle
|
||||
pkg
|
||||
*.gem
|
5
activesupport/lib/active_support/core_ext/file/path.rb
Normal file
5
activesupport/lib/active_support/core_ext/file/path.rb
Normal file
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user