Sha256: 637e1f0480c1c77b310b2d9e1315c94579c0df69940c8f3eb1aae8c4b22bd5a1

Contents?: true

Size: 170 Bytes

Versions: 7

Compression:

Stored size: 170 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

7 entries across 7 versions & 1 rubygems

Version Path
composite_primary_keys-11.0.0.rc2 test/fixtures/topic_source.rb
composite_primary_keys-7.0.15 test/fixtures/topic_source.rb
composite_primary_keys-8.1.1 test/fixtures/topic_source.rb
composite_primary_keys-7.0.14 test/fixtures/topic_source.rb
composite_primary_keys-8.1.0 test/fixtures/topic_source.rb
composite_primary_keys-7.0.13 test/fixtures/topic_source.rb
composite_primary_keys-8.0.0 test/fixtures/topic_source.rb