Shrine is a toolkit for handling file uploads in Ruby. It supports uploading, processing and deleting IO objects, backed by a storage adapter. It uses efficient streaming to minimize memory usage. Shrine comes with a high-level attachment interface for attaching uploaded files to database records, saving their location and metadata to a database column, and tying them to record's lifecycle.

Required Ruby Version

>= 2.1

Authors

Janko Marohnić

Versions

  1. 3.9.0 July 13, 2026 (261 KB)
  2. 3.8.0 June 24, 2026 (257 KB)
  3. 3.7.1 June 03, 2026 (256 KB)
  4. 3.7.0 May 27, 2026 (255 KB)
  5. 3.6.0 April 29, 2024 (253 KB)
  6. 2.1.0 June 26, 2016 (72.5 KB)
Show all versions (59 total)

SHA 256 checksum