Skip to content

issues#925#931

Open
donrestarone wants to merge 3 commits into
comfy:masterfrom
restarone:shashike_issues#925
Open

issues#925#931
donrestarone wants to merge 3 commits into
comfy:masterfrom
restarone:shashike_issues#925

Conversation

@donrestarone

Copy link
Copy Markdown

Summary

Fixing this issue: #925

TL;DR Looks like we don't have to use the option combine_options: to pass the hash that is returned by Comfy::Cms::File::VARIANT_SIZE[:thumb]

@donrestarone

Copy link
Copy Markdown
Author

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 👍

@Fodoj

Fodoj commented Jul 13, 2021

Copy link
Copy Markdown

You should also change it at least here -

{ thumb: url_for(file.attachment.variant(combine_options: Comfy::Cms::File::VARIANT_SIZE[:redactor])),
. I would not add those migrations though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants