Sha256: 5e9579dded6635266069f48832772079a2965dc8d8c6d1029c0203d704b611fc

Contents?: true

Size: 176 Bytes

Versions: 45

Compression:

Stored size: 176 Bytes

Contents

class TopicSource < ActiveRecord::Base
	self.primary_keys = :topic_id, :platform

	belongs_to :topic, inverse_of: :topic_sources

	validates :platform, presence: true
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
composite_primary_keys-12.0.2 test/fixtures/topic_source.rb
composite_primary_keys-11.3.1 test/fixtures/topic_source.rb
composite_primary_keys-8.1.8 test/fixtures/topic_source.rb
composite_primary_keys-12.0.1 test/fixtures/topic_source.rb
composite_primary_keys-12.0.0 test/fixtures/topic_source.rb
composite_primary_keys-12.0.0.rc5 test/fixtures/topic_source.rb
composite_primary_keys-12.0.0.rc4 test/fixtures/topic_source.rb
composite_primary_keys-12.0.0.rc3 test/fixtures/topic_source.rb
composite_primary_keys-12.0.0.rc2 test/fixtures/topic_source.rb
composite_primary_keys-12.0.0.rc1 test/fixtures/topic_source.rb
composite_primary_keys-8.1.7 test/fixtures/topic_source.rb
composite_primary_keys-11.2.0 test/fixtures/topic_source.rb
composite_primary_keys-11.1.0 test/fixtures/topic_source.rb
composite_primary_keys-11.0.3 test/fixtures/topic_source.rb
composite_primary_keys-11.0.2 test/fixtures/topic_source.rb
composite_primary_keys-10.0.5 test/fixtures/topic_source.rb
composite_primary_keys-9.0.10 test/fixtures/topic_source.rb
composite_primary_keys-11.0.1 test/fixtures/topic_source.rb
composite_primary_keys-11.0.0 test/fixtures/topic_source.rb
composite_primary_keys-10.0.4 test/fixtures/topic_source.rb