简体   繁体   中英

File Uploading with ruby on rails

at the moment I'm using this: https://github.com/technoweenie/attachment_fu for uploading files.

at the moment i'm running with rails 3.2.12 but soon I want to upgrade to 4.2

can I use this plugin with 4.2 or do I need to use another one?

attachment_fu is a very old plugin and from the github page it appears as if the development has stopped, so I doubt it will support Rails 4+

These are some good alternatives: https://www.ruby-toolbox.com/categories/rails_file_uploads

Carrierwave and paperclip are the most faous ones and pretty easy to setup.

Paperclip is a smart choice for file uploading. You can use it in rails 3 & 4.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM