Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Sega100500 opened this issue Jul 2, 2022 · 2 comments

Comments

@Sega100500
Copy link

Sega100500 commented Jul 2, 2022

Images saved using ActiveStorage different in production and development environments

@Sega100500
Copy link
Author

Sega100500 commented Jul 6, 2022

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 Sega100500 changed the title It may be that this problem is in the gem ckeditor ? Images saved via ActiveStorage are different in environments. It may be that this problem is in the gem ckeditor ? Jul 6, 2022
@Sega100500 Sega100500 changed the title Images saved via ActiveStorage are different in environments. It may be that this problem is in the gem ckeditor ? It may be that this problem is in the gem ckeditor ? Images saved using ActiveStorage are different in environments. Jul 6, 2022
@Sega100500
Copy link
Author

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.

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

No branches or pull requests

1 participant