TheMITTech / thetech.com

The content management system and frontend website for The Tech, MIT's oldest and largest newspaper.
https://thetech.com
Other
18 stars 9 forks source link

Switch from Paperclip to ActiveStorage #558

Open CyanoKobalamyne opened 3 years ago

CyanoKobalamyne commented 3 years ago

Paperclip was deprecated in May 2018: https://thoughtbot.com/blog/closing-the-trombone. Rails ActiveStorage can be used instead, which also has an AWS S3 backend.

Example article that describes a large-scale migration: https://medium.com/sortlist-engineering/migrating-from-paperclip-to-activestorage-a-different-approach-4bffa2260e17.

bkettle commented 3 years ago

May be less relevant in light of #575. Seems like it would still eventually be good to move to ActiveStorage, but the immediate need is avoided for now.

CyanoKobalamyne commented 3 years ago

Yes, I think the benefit is a reduced dependency tree size (and hence reduced exposure to bugs). But there are likely many higher-priority issues...