What problem does it solve?
This Skill simplifies the process of handling file uploads, attachments, and associated metadata within Ruby on Rails applications, making it easy to integrate rich media and documents.
Core Features & Use Cases
- File Uploads: Seamlessly add single or multiple file uploads to any Rails model.
- Cloud Storage Integration: Configure and utilize services like Amazon S3, Google Cloud Storage, and Azure Blob Storage.
- Image Variants & Processing: Automatically generate different sizes and formats of images (e.g., thumbnails, responsive versions).
- Direct Uploads: Enable uploads directly from the browser to cloud storage, improving performance.
- Use Case: A social media platform needs users to upload profile pictures and multiple photos for posts. This Skill allows for efficient handling of these uploads, including generating thumbnails and storing them reliably in S3.
Quick Start
Use the active-storage skill to install active storage and set up a user model with an avatar attachment.