OSS TanbouSign in with GitHub

Handle Ruby web-app file uploads with cache/store separation, processing, and ORM-mounted uploaders

About these scores

OSS scale score is an unbounded metric that log-compresses and weights Stars, Watchers, Forks, and Contributors. Discovery score is the current OSS scale score minus the score at discovery. Update pace is commits in the last 30 days, growth momentum is the OSS scale score difference within the recent observation window, and OSS health is a 0–100 rating based on available recency, Community Health, and release data.

Stars
8,768
Primary language
Ruby
License
MIT
Repository last updated
Oct 5, 2026
On this page

Overview

CarrierWave is a file-upload library for Ruby applications. It separates temporary cache from permanent storage, stores files on local or cloud backends, and mounts uploader classes onto ActiveRecord models. Image processing, multiple files, remote downloads, and generated versions can be layered on as needed. The latest stable release is 3.1.4, while master is 4.0.0.beta.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Key features

Define cache, storage, paths, and filenames in uploader classes

Subclasses of CarrierWave::Uploader::Base define storage, store_dir, filenames, and related behavior. ActiveRecord integrations mount uploaders on model columns so file persistence follows record lifecycle.

Sources: [2]

Add image versions, processing, multiple uploads, and metadata when needed

CarrierWave can integrate MiniMagick or Vips processing, thumbnail versions, multiple-file fields, stored metadata, and remote URL downloads. The 4.0 beta line adds recorded storage metadata and direct-upload work.

Sources: [2][4]

Best fit

Fits Rails-centric applications that want model lifecycle and file attachments directly connected

It suits Rails and Rack applications that want form uploads, model persistence, derivative generation, and filesystem or cloud storage managed through a single uploader definition, including long-lived CarrierWave codebases.

Sources: [2]

Before adoption

Separate stable 3.1.4 from the 4.0 beta line and define upload and image-processing security explicitly

The latest stable release is 3.1.4, while master declares 4.0.0.beta with breaking changes and Ruby 2.7+/Rails 7.0+ requirements. Use content-type allowlists rather than relying only on extensions, review ImageMagick/ImageTragick defenses, and treat remote downloads and storage paths as untrusted-input boundaries.

Sources: [2][3][4]

Official sources

  1. [1]carrierwaveuploader/carrierwave — GitHub repository(2026-10-06)
  2. [2]CarrierWave — README(2026-10-06)
  3. [3]CarrierWave — carrierwave.gemspec(2026-10-06)
  4. [4]CarrierWave — CHANGELOG(2026-10-06)
  5. [5]CarrierWave — v3.1.4 release(2026-10-06)
Supplemental curator note

CarrierWave is a long-established way to connect Rails models and file attachments. Keep stable 3.1.4 separate from the 4.0 beta line and treat content-type validation, ImageMagick configuration, remote downloads, and storage paths as security boundaries.

Try it in 3 steps

  1. 1

    Get the source

    git clone --depth 1 https://github.com/carrierwaveuploader/carrierwave.git
  2. 2

    Enter the repository

    cd carrierwave
  3. 3

    Check the official steps

    Continue with the commands in the README Installation, Quick Start, or Getting Started section.

    find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Check the official README

Growth

Growth trends · Last 30 days

8,768 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
21
Open PRs
0

Development activity is still being collected.

Built with

Categories and tags

GitHub data

GitHub dataView detailed GitHub data
Stars
8,768
Forks
1,645
Watchers
132
Open issues
14
Contributors
366
Owner type
Organization
Primary language
Ruby
License
MIT
Repository last updated
Oct 5, 2026
Write a related article

Share a guide or use case for this OSS in Markdown. Articles are published after administrator approval.

Report incorrect information

Tell us if any listing information is incorrect or outdated.

After reading this page, do you know what to do next?