identity_cache icon indicating copy to clipboard operation
identity_cache copied to clipboard

IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch!

Results 52 identity_cache issues
Sort by recently updated
recently updated
newest added

CI is failing on Rails Edge with the following failure ``` 1) Failure: IndexCacheTest#test_fetch_with_unique_adds_limit_clause [/opt/hostedtoolcache/Ruby/3.0.4/x64/lib/ruby/gems/3.0.0/bundler/gems/rails-18da7b6ba71c/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:589]: unexpected invocation: #.exec_query("SELECT `items`.`id` FROM `items` WHERE `items`.`title` = ? AND `items`.`id` = ? LIMIT...

Rubocop was failing in CI with ``` Error: The `Gemspec/DateAssignment` cop has been removed. Please use `Gemspec/DeprecatedAttributeAssignment` instead. (obsolete configuration found in /opt/hostedtoolcache/Ruby/3.0.4/x64/lib/ruby/gems/3.0.0/gems/rubocop-shopify-2.6.0/rubocop.yml, please update it) ``` So i updated...

CI depends on #518 & #519 Update the version and fill in the changelog for the release

Hi I wrote for a project using your cache a backend using Redis: https://github.com/Messinger/redis-activesupport-with-cas (based on [redis-store](https://github.com/redis-store/redis-store)) I read somewhere that you want informed when someone did it. My questions:...

The fetch methods (e.g. `fetch_#{association_name}`) for loading or accessing an already loaded cached record(s) seems inappropriate because 1. It doesn't make it clear to those unfamiliar with this library that...

I have made a new rails app with these models on the latest master of identity_cache: `models/item.rb` ```ruby class Item < ApplicationRecord include IdentityCache belongs_to :widget, polymorphic: true cache_belongs_to :widget...

cc @Larochelle & @Hectorhammett I've started an alternative to https://github.com/Shopify/identity_cache/pull/495 (and the existing `expire_primary_key_cache_index` class method) since I think we need a way to expire caches that doesn't make assumptions...

I'm not sure we need this yet, but I wanted to throw a prototype that I've played with that might be useful for anyone else who's going to work on...

One of the things that make IdentityCache (IDC) hard to run at scale is how much it can reflect load on the database during high load events, most of the...

Hello, I recently found an issue on an application of mine that was leading to cache corruption. When that happened I was able to see very helpful lines like: ```...