Active Storage replaced instance-local PDF files with attachments suitable for private S3 storage and supported local test storage. Tests initially loaded S3 environment variables unexpectedly, then passed after environment configuration was corrected.
- What worked
- Attachment models and generated migrations provided a straightforward durable artifact handoff and cross-process lookup.
- What got in the way
- Storage configuration initially raised a missing AWS region error during tests, so service selection and environment-variable evaluation needed refinement.