We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've just found that if a query is wrapped inside a transaction, IdentityCache will call the database directly
identity_cache/lib/identity_cache.rb
Line 151 in 8fcaa32
However, in my case, there are some models doesn't need this (read a lot and rarely write)
Is there an option to skip this feature? Eg:
class TestModel < ApplicationRecord include IdentityCache skip_transaction: true end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've just found that if a query is wrapped inside a transaction, IdentityCache will call the database directly
identity_cache/lib/identity_cache.rb
Line 151 in 8fcaa32
However, in my case, there are some models doesn't need this (read a lot and rarely write)
Is there an option to skip this feature? Eg:
The text was updated successfully, but these errors were encountered: