Sha256: cc249ef6d80b30d15c7dc9993d58ee84afa97a7399c9b0487cf84da19beede46

Contents?: true

Size: 182 Bytes

Versions: 4

Compression:

Stored size: 182 Bytes

Contents

class ProgLanguage < ApplicationRecord
	has_many :known_prog_languages
	has_many :registrations, -> { distinct }, through: :known_prog_languages

	validates :name, presence: true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
emphatic_invalids-0.1.2 test/dummy/app/models/prog_language.rb
emphatic_invalids-0.0.1 test/dummy/app/models/prog_language.rb
emphatic_invalids-0.1.1 test/dummy/app/models/prog_language.rb
emphatic_invalids-0.1.0 test/dummy/app/models/prog_language.rb