Sha256: 4ead1f2db8caa401db5b9a195a755bdaf35a6915089e5d497583decde87b2523
Contents?: true
Size: 404 Bytes
Versions: 10
Compression:
Stored size: 404 Bytes
Contents
require 'subj_models/concerns/comprising_external_id' module SubjModels module MeasureUnit def self.included(including_class) including_class.class_eval do include SubjModels::ComprisingExternalId #belongs_to :attribute_value #has_many :nomenclature_prices validates :name, presence: true end end def to_s name end end end
Version data entries
10 entries across 10 versions & 1 rubygems