Migrate from Shrine (or paperclip) to active storage

I’m migrating from Shrine to Active Storage. It’s very similar to migrating from paperclip. Active storage works, but the migration is not moving my existing data over properly.


  1. Modified the migration here: https://github.com/thoughtbot/paperclip/blob/master/MIGRATING.md to use Shrine data.

  2. Checked in my local database that the records are getting properly created.

siftlocal_co_development=# TABLE active_storage_attachments;

id | name | record_type | record_id | blob_id | created_at