Sha256: 5aed118b8ad0bce3ebeee1faa0af1c228fafb9494659e0450bc8e798917751ae
Contents?: true
Size: 208 Bytes
Versions: 2
Compression:
Stored size: 208 Bytes
Contents
module Jobshop class Thing < ApplicationRecord belongs_to :team validates(:identifier, uniqueness: { scope: :team_id, case_sensitive: false }, presence: true) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jobshop-0.0.131 | app/models/jobshop/thing.rb |
jobshop-0.0.127 | app/models/jobshop/thing.rb |