Sha256: b64d5629a49f419e3948ca56024e1f3a030a763e14d211c3e593fead0fad1d29

Contents?: true

Size: 345 Bytes

Versions: 8

Compression:

Stored size: 345 Bytes

Contents

module BridgeCache
  class Tagging < ActiveRecord::Base
    extend BridgeCache::Data::BridgeModel

    belongs_to :tag, foreign_key: :tag_id, primary_key: :bridge_id, class_name: 'BridgeCache::Tag', optional: true
    belongs_to :user, foreign_key: :tagger_id, primary_key: :bridge_id, class_name: 'BridgeCache::User', optional: true

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
bridge_cache-0.0.13 app/models/bridge_cache/tagging.rb
bridge_cache-0.0.12 app/models/bridge_cache/tagging.rb
bridge_cache-0.0.11 app/models/bridge_cache/tagging.rb
bridge_cache-0.0.10 app/models/bridge_cache/tagging.rb
bridge_cache-0.0.9 app/models/bridge_cache/tagging.rb
bridge_cache-0.0.8 app/models/bridge_cache/tagging.rb
bridge_cache-0.0.7 app/models/bridge_cache/tagging.rb
bridge_cache-0.0.6 app/models/bridge_cache/tagging.rb