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

Deprecate key_hash_stage #145

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Deprecate key_hash_stage #145

merged 1 commit into from
Feb 2, 2024

Conversation

djmb
Copy link
Collaborator

@djmb djmb commented Feb 2, 2024

The option now does nothing. We assume that the key_hash column is present and indexed

The option now does nothing. We assume that the key_hash column is
present and indexed
@djmb djmb merged commit e0b3f90 into main Feb 2, 2024
34 checks passed
@djmb djmb deleted the assume-key-hash branch February 2, 2024 10:24
@@ -17,6 +17,10 @@ class Engine < ::Rails::Engine

SolidCache.configuration = SolidCache::Configuration.new(**options)
end

if config.solid_cache.key_hash_stage
ActiveStorage.deprecator.warn("config.solid_cache.key_hash_stage is deprecated and has no effect.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this okay? Or should it be ActiveSupport?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops yes 😅

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