Debugging AWS S3 for Rails Active Storage

Rails Tech WebDev

It could be your CORS configuration for AWS S3 for Rails ActiveStorage

If you've gotten to the point where you can add an upload to Active Storage but then the items somehow disappear, it's probably your CORS configuration that's wrong. 

Credit to Mike Rogers for helping me get the right CORS settings here — 

This is what you'll need to toss into your CORS settings for your AWS bucket 

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="">

Similar Posts

Simple Full Text Search in Rails

No gems, no dependencies, no complexity. Here’s a basic full text search to use on simpler, smaller rails apps.

Rails WebDev

JavaScript Spread Operator

When dealing with many different objects in JavaScript, sometimes you need to compile them all down together. The spread operator is a handy function for this and more.

JavaScript QuickTip


Companies seem to be completely blind to the insanity of the incentives they choose to track.