Sha256: 853b11d7fe3567eb908113c43d53ebae84eb1bc5e1881155183cfe9d610b2cb8

Contents?: true

Size: 352 Bytes

Versions: 12

Compression:

Stored size: 352 Bytes

Contents

module BridgeCache
  class Membership < ApplicationRecord
    extend BridgeCache::Data::BridgeModel

    belongs_to :group, foreign_key: :group_id, primary_key: :bridge_id, class_name: 'BridgeCache::Group', optional: true
    belongs_to :user, foreign_key: :group_id, primary_key: :bridge_id, class_name: 'BridgeCache::User', optional: true

  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bridge_cache-0.0.19 app/models/bridge_cache/membership.rb
bridge_cache-0.0.18 app/models/bridge_cache/membership.rb
bridge_cache-0.0.17 app/models/bridge_cache/membership.rb
bridge_cache-0.0.16 app/models/bridge_cache/membership.rb
bridge_cache-0.0.14 app/models/bridge_cache/membership.rb
bridge_cache-0.0.13 app/models/bridge_cache/membership.rb
bridge_cache-0.0.12 app/models/bridge_cache/membership.rb
bridge_cache-0.0.11 app/models/bridge_cache/membership.rb
bridge_cache-0.0.10 app/models/bridge_cache/membership.rb
bridge_cache-0.0.9 app/models/bridge_cache/membership.rb
bridge_cache-0.0.8 app/models/bridge_cache/membership.rb
bridge_cache-0.0.7 app/models/bridge_cache/membership.rb