Sha256: e94aceab48814c6f4d73bd8e40a74ae57887df03a8ee8ad8007b53d2ea51bc12
Contents?: true
Size: 422 Bytes
Versions: 2
Compression:
Stored size: 422 Bytes
Contents
module Ecm::Tags class Tagging < ActsAsTaggableOn::Tagging def human "#{taggable} - #{tag}" end def taggable=(taggable) if taggable.is_a?(String) super(GlobalID::Locator.locate(taggable)) else super end end def tagger=(tagger) if tagger.is_a?(String) super(GlobalID::Locator.locate(tagger)) else super end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ecm_tags-2.2.1 | app/models/ecm/tags/tagging.rb |
ecm_tags-2.2.0 | app/models/ecm/tags/tagging.rb |