Sha256: 500c3b19a6c374a15087d38aaa25ccc6cafdae14240c8b78bcd5158029b78b08

Contents?: true

Size: 276 Bytes

Versions: 17

Compression:

Stored size: 276 Bytes

Contents

module Ecom
  module Core
    class AvailableUnitOfMeasurement < ApplicationRecord
      validates :material_type_id, :material_type, :measurement_unit_id, :measurement_unit, presence: true

      belongs_to :material_type
      belongs_to :measurement_unit
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ecom_core-1.3.14 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.13 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.12 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.11 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.10 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.9 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.8 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.7 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.6 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.5 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.4 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.3 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.2 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.1 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.3.0 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.2.36 app/models/ecom/core/available_unit_of_measurement.rb
ecom_core-1.2.35 app/models/ecom/core/available_unit_of_measurement.rb