SpeciesFileGroup / taxonworks

Workbench for biodiversity informatics.
http://taxonworks.org
Other
87 stars 26 forks source link

Paperclip deprecated #488

Open LocoDelAssembly opened 6 years ago

LocoDelAssembly commented 6 years ago

Thoughbot announced Paperclip is deprecated: https://robots.thoughtbot.com/closing-the-trombone

They provide a migration guide to ActiveStorage: https://github.com/thoughtbot/paperclip/blob/master/MIGRATING.md

What it looks interesting to me of ActiveStorage (although not sure if could be done with Paperclip) is the file path generation, kinda UUID, which would make easier to deploy imported images to servers without the risk of collision (just re-importing with Image.new image_file: ... would be very time consuming as the scaled images would need to be regenerated)

mjy commented 6 years ago

Yes, saw this a couple months back. We'll wait till we get to the 5.2 branch to deal with it I think.

On Fri, Aug 17, 2018 at 8:28 AM, Hernán Lucas Pereira < notifications@github.com> wrote:

Thoughbot announced Paperclip is deprecated: https://robots.thoughtbot.com/closing-the-trombone

They provide a migration guide to ActiveStorage: https://github.com/thoughtbot/paperclip/blob/master/MIGRATING.md

What it looks interesting to me of ActiveStorage (although not sure if could be done with Paperclip) is the file path generation, kinda UUID, which would make easier to deploy imported images to servers without the risk of collision (just re-importing with Image.new image_file: ... would be very time consuming as the scaled images would need to be regenerated)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/SpeciesFileGroup/taxonworks/issues/488, or mute the thread https://github.com/notifications/unsubscribe-auth/AABYSIctNQFz4rNXNOE6sdVLmq_Yft8Dks5uRsUagaJpZM4WBkU1 .