module Polytag::Concerns::TagOwner::AssociationExtensions

Public Instance Methods

default() click to toggle source
# File lib/polytag/concerns/tag_owner/association_extensions.rb, line 5
def default
  where(name: :default).first
end
get(group) click to toggle source
# File lib/polytag/concerns/tag_owner/association_extensions.rb, line 9
def get(group)
  where(name: "#{group}".strip).first
end