Sha256: 2fbb0a34f64ad865c047c53c5ffda6d20250c4954d8c49d9cd717e5dcf3f2ee1
Contents?: true
Size: 457 Bytes
Versions: 57
Compression:
Stored size: 457 Bytes
Contents
module Cmor::Tags class Tagging < ActsAsTaggableOn::Tagging self.table_name = 'taggings' 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
57 entries across 57 versions & 1 rubygems