Sha256: 35cb2ae556f65793e7594a577aa4e228508416e05667a8806af3820353426a8e
Contents?: true
Size: 232 Bytes
Versions: 16
Compression:
Stored size: 232 Bytes
Contents
# frozen_string_literal: true class Gutentag::RemoveUnused def self.call Gutentag::Tag.connection.execute <<-SQL DELETE FROM gutentag_tags WHERE id NOT IN (SELECT DISTINCT tag_id FROM gutentag_taggings) SQL end end
Version data entries
16 entries across 16 versions & 1 rubygems