0
힌 내가이파일 다운로드
require 'open-uri'
def index
File.open('/target/path/to/downloaded.file', "wb") do |file|
file.write open('http://example.com/your.file').read
end
end
할 루비에 내가 이것을 시도 파일을 다운로드 할 수 있지만, 내 index.html.erb에
를 작동하지 않는 방법에 어떤 아이디어를 하지만 여전히 아니다