Sha256: 86c6b70a1de3388d57ead954629550e96a80fa21b78497b7274e3e108147eadd
Contents?: true
Size: 511 Bytes
Versions: 12
Compression:
Stored size: 511 Bytes
Contents
module BridgeCache class ProgramGroupEnrollment < BridgeBaseModel extend BridgeCache::Data::BridgeModel belongs_to :group, foreign_key: :group_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Group.name, optional: true belongs_to :program, foreign_key: :program_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Program.name, optional: true def self.unique_column_names %w[bridge_id] end end end
Version data entries
12 entries across 12 versions & 1 rubygems