Sha256: 3c82924b879ea313333bec1044c3503f6ea8313b21a32c9e8e8b4d38614ab30d

Contents?: true

Size: 416 Bytes

Versions: 7

Compression:

Stored size: 416 Bytes

Contents

module BridgeCache
  class CustomField < BridgeBaseModel
    extend BridgeCache::Data::BridgeModel

    belongs_to :domain, foreign_key: :domain_id, primary_key: BridgeCache.primary_key, class_name: BridgeCache::Domain.name, optional: true
    has_many :learner_custom_field_values, primary_key: BridgeCache.primary_key, foreign_key: :custom_field_id, class_name: BridgeCache::LearnerCustomFieldValue.name
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bridge_cache-0.3.6 app/models/bridge_cache/custom_field.rb
bridge_cache-0.3.5 app/models/bridge_cache/custom_field.rb
bridge_cache-0.3.4 app/models/bridge_cache/custom_field.rb
bridge_cache-0.3.3 app/models/bridge_cache/custom_field.rb
bridge_cache-0.3.2 app/models/bridge_cache/custom_field.rb
bridge_cache-0.3.01 app/models/bridge_cache/custom_field.rb
bridge_cache-0.3.0 app/models/bridge_cache/custom_field.rb