rails-active-storage

Official

Easily manage file uploads in Rails.

Authorrubakas
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rails applications often struggle with attaching, validating, and serving user-uploaded files while keeping storage concerns decoupled from application logic. Active Storage provides a unified approach to handle attachments, variants, validations, and cloud storage configuration.

Core Features & Use Cases

  • Attach single and multiple files with has_one_attached and has_many_attached
  • Generate and display image variants, and manage direct uploads to cloud services
  • Validate content types, file sizes, and dimensions; configure services (S3, GCS, Azure) and local development storage
  • Typical use cases include user avatars, document uploads, and media galleries across development, staging, and production

Quick Start

Attach a file to a model using has_one_attached or has_many_attached and configure a storage service to begin uploading.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rails-active-storage
Download link: https://github.com/rubakas/agent-notes/archive/main.zip#rails-active-storage

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.