diff options
-rw-r--r-- | app/services/warm_cache_service.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/services/warm_cache_service.rb b/app/services/warm_cache_service.rb deleted file mode 100644 index 091a471ff..000000000 --- a/app/services/warm_cache_service.rb +++ /dev/null @@ -1,8 +0,0 @@ -# frozen_string_literal: true - -class WarmCacheService < BaseService - def call(cacheable) - full_item = cacheable.class.where(id: cacheable.id).with_includes.first - Rails.cache.write(cacheable.cache_key, full_item) - end -end |