I've just found that if a query is wrapped inside a transaction, IdentityCache will call the database directly
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