Forum: Ruby on Rails How can I save a image with an image url in ruby?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Bontina C. (Guest)
on 2007-01-30 15:21
I would like to have a copy of an image file locally given an image url.
like this
def loadimage=(image_url) to fetch image from an url.........."#{RAILS_ROOT}/public/images/#{file.original_filename}",
"w+") do |f|

Anyone could refer any existing helper with the function I need?

This topic is locked and can not be replied to.