Sha256: 5a40362016b145ae6621dbfe06b8e12b85292ca96059009af729644cb75b3480
Contents?: true
Size: 358 Bytes
Versions: 51
Compression:
Stored size: 358 Bytes
Contents
require 'subj_models/concerns/comprising_external_id' module SubjModels module EventTypeModule def self.included(including_class) including_class.class_eval do include SubjModels::ComprisingExternalId has_many :events validates :name, presence: true end end def to_s name end end end
Version data entries
51 entries across 51 versions & 2 rubygems