Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
# frozen_string_literal: true
module Jobs
class RebakeCustomEmojiPosts < ::Jobs::Base
def execute(args)
Post.where("raw LIKE ?", "%:#{args[:name]}:%").find_each(&:rebake!)
end