This gem provides a simple and extremely flexible way to upload files from Ruby applications. It works well with Rack based web applications, such as Ruby on Rails. CarrierWave gives you a store for permanent storage, and a cache for temporary storage. You can use different stores, including filesystem and cloud storage. Most of the time you are going to want to use CarrierWave together with an ORM. It is quite simple to mount uploaders on columns in your model, so you can simply assign files and get going. Make sure you are loading CarrierWave after loading your ORM, otherwise you'll need to require the relevant extension manually. Now you can cache files by assigning them to the attribute, they will automatically be stored when the record is saved. CarrierWave also has convenient support for multiple file upload fields. Add a column which can store an array. This could be an array column or a JSON column for example. Your choice depends on what your database supports.

Features

  • Make multiple file uploads
  • Make uploads work across form redisplays
  • Remove uploaded files
  • Upload files from a remote location
  • Provide a default URL
  • Skip ActiveRecord callbacks

Project Samples

Project Activity

See All Activity >

Categories

File Sharing

License

MIT License

Follow CarrierWave

CarrierWave Web Site

You Might Also Like
SKUDONET Open Source Load Balancer Icon
SKUDONET Open Source Load Balancer

Take advantage of Open Source Load Balancer to elevate your business security and IT infrastructure with a custom ADC Solution.

SKUDONET ADC, operates at the application layer, efficiently distributing network load and application load across multiple servers. This not only enhances the performance of your application but also ensures that your web servers can handle more traffic seamlessly.
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CarrierWave!

Additional Project Details

Operating Systems

Mac

Programming Language

Ruby

Related Categories

Ruby File Sharing Software

Registered

2021-06-30