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

Fix reset! when using namespaced cache store #673

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

santib
Copy link
Collaborator

@santib santib commented Nov 4, 2024

Closes #672

Sending a regex doesn't work with some cache stores (e.g. ActiveSupport::Cache::RedisCacheStore).

Seems like some cache stores need it to be a regex, and some others need it to be a string. This inconsistency lives in Rails itself. Maybe it's required to unify the API provided by Rails.

Another option would be making use of our proxies to handle this difference.

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.

Issue with reset! method and MemoryStore Cache
1 participant