Sha256: 166f0cf7d36717d9ae36700dcb856d18a25e3e0ac89a584707ae4759572506fe
Contents?: true
Size: 317 Bytes
Versions: 1
Compression:
Stored size: 317 Bytes
Contents
module Jobshop class RoutingStep < ApplicationRecord self.primary_keys = [ :organization_id, :routing_step_id ] belongs_to :organization belongs_to :routing_process, inverse_of: :routing_steps, foreign_key: [ :organization_id, :routing_process_id ] validates :name, presence: true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jobshop-0.0.157 | app/models/jobshop/routing_step.rb |