diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-13 13:02:29 -0800 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-11-13 13:10:28 -0800 |
commit | 3f54f3100b6c262776ad324bd649ff268600e280 (patch) | |
tree | e4da4bb1652bc9fb06bba39d6f0f7da298817144 | |
parent | 2841a14f4b26e093e88cdb6d84c82d120f53ca46 (diff) | |
download | rails-3f54f3100b6c262776ad324bd649ff268600e280.tar.gz rails-3f54f3100b6c262776ad324bd649ff268600e280.tar.bz2 rails-3f54f3100b6c262776ad324bd649ff268600e280.zip |
Ruby 1.9.2: StringIO no longer has #path
-rwxr-xr-x | actionpack/lib/action_dispatch/http/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/http/request.rb b/actionpack/lib/action_dispatch/http/request.rb index b3bb8c623f..6a52854961 100755 --- a/actionpack/lib/action_dispatch/http/request.rb +++ b/actionpack/lib/action_dispatch/http/request.rb @@ -489,7 +489,7 @@ EOM def self.extended(object) object.class_eval do attr_accessor :original_path, :content_type - alias_method :local_path, :path + alias_method :local_path, :path if method_defined?(:path) end end |