Last Updated: February 25, 2016
·
184
· ThawanFidelis

Populate paperclip field from url

picture = URI.parse(url).open

Event.all.map{|e| e.logo = picture; e.save; e.logo.reprocess! }