Last Updated: February 25, 2016
·
186
· ThawanFidelis

Populate paperclip field from url

picture = URI.parse(url).open

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