#activestorage
I'm super happy to release Marksmith today.

This is the Markdown editor I wanted in Rails since forever. Today it's here.

- Seamless text input
- Quick Preview
- ActiveStorage integration
- List Continuation
- Media Library integration
- MIT and ready to use
February 3, 2025 at 12:36 PM
Just another night spent monkey-patching ActiveStorage. Nice that we can; just wish we didn't have to
November 29, 2024 at 12:46 AM
You’re the only person that would do ActiveStorage for fun 🤣
August 13, 2025 at 3:57 PM
Will these support upload progress? If so, yes and that’s what I’d use them for 😊

Libraries like Rails’ ActiveStorage still have to rely on XHR for upload progress.
September 3, 2025 at 2:07 PM
I think variants were a mistake and make ActiveStorage unnecessarily complex
November 5, 2024 at 5:16 PM
January 27, 2025 at 12:08 PM
Progressively loading images component, using ActiveStorage variants and stimulus to blur in after the hq versions finish loading.

`<%= nk_progressive_image_tag(attachment: show.poster, size: :medium) %>`
June 11, 2025 at 12:13 PM
Anyone have better approaches to wiping Active Storage files after #RSpec test runs in #RubyOnRails?

```
config.after(:suite) do
dir = ActiveStorage::Blob.services.fetch(:test).root
FileUtils.rm_rf(dir)
FileUtils.mkdir_p(dir)
FileUtils.touch(File.join(dir, ".keep"))
end
```
May 6, 2025 at 12:39 AM
Hey an update in my journey here implementing ActiveStorage similar package but for #elixirlang

So far, I have this.

Next steps
☑️ Ecto persistence
☑️ Phoenix router integration
☑️ Implement use cases. Direct uploads, protected uploads,...
November 29, 2025 at 6:01 PM
Building one of those drag'n'drop file uploads for Nitro Kit. Starting to look decent! Using ActiveStorage direct uploads and as easy as

<%= f.field :image, as: NitroKit::Dropzone %>
June 6, 2025 at 10:57 AM
🎩 New Ruby Magic: Extend ActiveStorage for Ruby on Rails with Custom Previewers
blog.appsignal.com/2025/08/13/e...
Extend ActiveStorage for Ruby on Rails with Custom Previewers | AppSignal Blog
We'll dive into how ActiveStorage handles uploaded data and how to extend this process in the second part of this two-part series.
blog.appsignal.com
August 13, 2025 at 11:34 AM
Rails RCE patched, exploits were fast

A severe RCE in Rails 8+ ActiveStorage was patched July 29, 2026, but a government site was hit hours after patching.
September 6, 2026 at 7:03 PM
The tight coupling of ActionText / ActiveStorage / Trix makes any changes to these libraries especially difficult i imagine.

Building an adapter for a non-Trix ActionText compatible RTE was no small feat, and 90% of the pain was around attachments...
May 10, 2025 at 7:09 AM
I started working on a library for this. The key difference from ActiveStorage is using a ledger table rather than record_type/record_id columns for polymorphism. Otherwise I'd like to support roughly all of ActiveStorage. There's an MVP blog example.

github.com/jakeprem/ect...
GitHub - jakeprem/ecto_storage
Contribute to jakeprem/ecto_storage development by creating an account on GitHub.
github.com
September 20, 2025 at 2:29 PM
Almost every CLS issue in a Rails app not using SPAs is driven by not having image heights or aspect ratios. You can store image height/width in ActiveStorage.
April 14, 2025 at 5:04 PM
Excited to try it! Is ActiveStorage a hard requirement for uploads? I've gotten away with not having it, so far, and was hoping to not break that streak. 😅
February 3, 2025 at 4:48 PM
I'm glad it's working great! I would probably not change from Rails/ActiveStorage for it, but I like that there are so many options available.

(also, no way to not love this lil' one)
May 5, 2025 at 4:41 PM
Yes, shrine looks great. I should take a few hours to implement it and compare it to a current ActiveStorage solution which feels a bit weird/hacky.
It looks like it would make it easier to implement a custom workflow.
November 10, 2024 at 7:15 AM
ActiveStorage really is a little funky, like a weird cousin
June 22, 2025 at 8:26 PM
🎩 New Ruby Magic: Build Custom ActiveStorage Analyzers for Ruby on Rails
blog.appsignal.com/2025/07/30/b...
Build Custom ActiveStorage Analyzers for Ruby on Rails | AppSignal Blog
We'll dive into how ActiveStorage treats uploaded data, and how to extend this process, in part one of this two-part series.
blog.appsignal.com
July 30, 2025 at 10:38 AM
...for managing retries and the other goodies a real jobs system brings to the table. Rails by default, has ActiveStorage. I'll do the dummy approach with Elixir Tasks. This is the nice thing about #elixirlang. These primitives are really good.
November 29, 2025 at 6:01 PM
Adding image upload functionality using the Uppy package with ActiveStorage in Rails so that we can attach images to our Listings and Places.
youtu.be/J0vaSsVcnuw
Image Uploads with Uppy & ActiveStorage in Rails - Part 8
YouTube video by Ken Greeff
youtu.be
January 10, 2025 at 5:55 AM
Short answer is the way ActiveRecord (and ActiveStorage by extension) does polymorphism does not benefit from database reference guarantees. (See hexdocs.pm/ecto/polymor... for "official" Ecto reasoning). I think for wide adoption an Elixir storage solution would want to follow Ecto's patterns too.
Polymorphic associations with many to many — Ecto v3.13.3
hexdocs.pm
September 23, 2025 at 9:41 PM
How 'bout activestorage content type validations? Maybe a bit out of scope I guess
November 8, 2024 at 11:09 AM