Sha256: cc8eb084e8c25920dbd5c0cb0e54363c98fe8c4273b0e0fd689773e3bf22a888
Contents?: true
Size: 334 Bytes
Versions: 10
Compression:
Stored size: 334 Bytes
Contents
module SubjModels module MeasureUnit def self.included(including_class) including_class.class_eval do include 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