Skip to main content
在 Manus 中运行任何 Skill
一键导入

rails-storage

星标0
分支0
更新时间2026年6月13日 06:04

Handle file uploads and attachments in a Rails 8.1 app with Active Storage — attach files to models (has_one_attached / has_many_attached), generate image variants (via image_processing with libvips or MiniMagick), serve files, and upload directly from the browser to a storage service. Menu-driven service and image-processor selection with a Recommended default; detects the configured storage service and processor first, branches on config.api_only (direct-upload JS is a Web concern), and verifies an attachment round-trips and a variant generates. Apply when adding file/image uploads, configuring a storage backend (local/S3/GCS/Azure), creating image variants, or wiring direct uploads.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly