Nicholas Shirley
  • Home

ActiveStorage

A collection of 1 post

Rails

Re-associate ActiveStorage attachments after changing a table name

Sometimes you have to change a table name. When you do, don't forget to update ActiveStorage relationships otherwise your files will be orphaned.

  • Nicholas Shirley
1 min read
Nicholas Shirley © 2025
Latest Posts Twitter Ghost