It always
requires extra effort to setup your form for uploading files. Paperclip is a
wonderful gem which can save your extra effort for that task. Just install the
gem, add necessary fields in model including file field, and last of all add
multipart => true in your form. Then your application is ready for uploading
file. Most of the required options related to uploading file are available in
this gem. You can find implementation details in following links.
No comments:
Post a Comment