Sha256: 178a259c43720089eecf5e51d71ae668bcdc178374cd8eda3915224c9f6ddd26
Contents?: true
Size: 246 Bytes
Versions: 9
Compression:
Stored size: 246 Bytes
Contents
module Logistics module Core class Lookup < ApplicationRecord validates :code, presence: true, uniqueness: { scope: [:code, :type] } validates :name, :type, presence: true, uniqueness: { scope: [:name, :type] } end end end
Version data entries
9 entries across 9 versions & 1 rubygems