From: John O'gara Date: 2010-01-22T18:23:30+09:00 Subject: Re: PaperClip: Attach files through script/console Thanks Luis, thats much neater. Luis Lavena wrote: > image = Image.new(:storage => File.open('/path/to/my/image.png', rb)) > > Where: > > Image is your model > storage is your paperclip definition of has_attachment. > > HTH, -- Posted via http://www.ruby-forum.com/.