Open donrestarone opened 3 years ago
PS: Not sure if Im the only who experienced this but activestorage has changed from under us. I included the migration along with the fix for posterity. I'd be happy to remove it if isn't within scope :+1:
You should also change it at least here - https://github.com/comfy/comfortable-mexican-sofa/blob/8f7e425a06aca9cfa8e21de6b7a10669c8495fc3/app/controllers/comfy/admin/cms/files_controller.rb#L26. I would not add those migrations though.
Summary
Fixing this issue: https://github.com/comfy/comfortable-mexican-sofa/issues/925
TL;DR Looks like we don't have to use the option
combine_options:
to pass the hash that is returned byComfy::Cms::File::VARIANT_SIZE[:thumb]