提交 3f54f310 编写于 作者: J Jeremy Kemper

Ruby 1.9.2: StringIO no longer has #path

上级 2841a14f
......@@ -489,7 +489,7 @@ module UploadedFile
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册