Added loads

This commit is contained in:
Jeremy Caudle
2022-02-06 15:04:32 +00:00
parent 140921ce10
commit 055b79373c
42 changed files with 944 additions and 7 deletions

5
app/models/company.rb Normal file
View File

@@ -0,0 +1,5 @@
class Company < ApplicationRecord
validates :name, presence: true
validates :name, uniqueness: true
end