Sha256: 6a679da4dc2ed8fb5d2a456f9d5c1458d6e6e027e658a0afe567f21048b4f2ed
Contents?: true
Size: 245 Bytes
Versions: 16
Compression:
Stored size: 245 Bytes
Contents
# frozen_string_literal: true require 'acts-as-taggable-on' module Lcms module Engine class Tag < ActsAsTaggableOn::Tag scope :where_context, ->(context) { joins(:taggings).where(taggings: { context: context }) } end end end
Version data entries
16 entries across 16 versions & 1 rubygems