By Jim Neath
via jimneath.org
Published: Jul 02 2008 / 09:01
A short guide about how to use SWFUpload along with the Paperclip plugin inside your Ruby on Rails applications
SaveShareSend
Tags: flash-flex, javascript, ruby
Comments
ceaseoleo replied ago:
i currently use paperclip, but I don't believe it handles more than one image. I'm looking into attachment_fu now. But still a good solution
Jim Neath replied ago:
ceaseoleo - It can handle as many images as you want. If you want to have more than one image per model just create an asset model and use paperclip with that.
ceaseoleo replied ago:
hey jim thanks for the reply .. looked back through the comments of the original post, -- is this how you would suggest it as another reader did--
AttachemntModel
has_attached_file :photo, :styles => { :thumb=> “100×100#”, :small => “150×150>” }
belongs_to: post
PostModel
has_many: attachments
Voters For This Link (14)
Voters Against This Link (0)