Remove unused cached_tagged_by_approval_with Article scope (#13892)

This commit is contained in:
rhymes 2021-06-01 18:21:22 +02:00 committed by GitHub
parent 10ad52f12b
commit 8035d0ac42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)