From 8035d0ac42e7ab80ce14a4d4434923cdb684c5a2 Mon Sep 17 00:00:00 2001 From: rhymes Date: Tue, 1 Jun 2021 18:21:22 +0200 Subject: [PATCH] Remove unused cached_tagged_by_approval_with Article scope (#13892) --- app/models/article.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/models/article.rb b/app/models/article.rb index 88a74678f..779316ff2 100644 --- a/app/models/article.rb +++ b/app/models/article.rb @@ -219,8 +219,6 @@ class Article < ApplicationRecord end } - scope :cached_tagged_by_approval_with, ->(tag) { cached_tagged_with(tag).where(approved: true) } - scope :active_help, lambda { stories = published.cached_tagged_with("help").order(created_at: :desc)