diff --git a/app/models/tag.rb b/app/models/tag.rb index bcb6346bd..91badc047 100644 --- a/app/models/tag.rb +++ b/app/models/tag.rb @@ -54,7 +54,7 @@ class Tag < ActsAsTaggableOn::Tag end def self.bufferized_tags - Rails.cache.fetch("bufferized_tags_cache", expires_in: 2.hours) do + RedisRailsCache.fetch("bufferized_tags_cache", expires_in: 2.hours) do where.not(buffer_profile_id_code: nil).pluck(:name) end end