galetahub / ckeditor

Ckeditor 4.x integration gem for rails
https://ckeditor.com/ckeditor-4/
MIT License
2.23k stars 875 forks source link

It may be that this problem is in the gem ckeditor ? Images saved using ActiveStorage are different in environments. #924

Closed Sega100500 closed 2 years ago

Sega100500 commented 2 years ago

Images saved using ActiveStorage different in production and development environments

Sega100500 commented 2 years ago

Images are different in production and development modes. In this issue the problem was described in detail.

There is an assumption that encryption occurs at some level and the encryption key does not match (maybe based on the secret_key_base). I'm trying to understand at what level this is happening.

Important note

When viewing images thumbnails ("server selection"), all thumbnails are displayed in any environment.

Sega100500 commented 2 years ago

Issue was solved (""It's not a bug, it's a feature" of the Rails)

Perhaps someone will find the information useful, I hope so.