Added loads
This commit is contained in:
5
app/models/company.rb
Normal file
5
app/models/company.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class Company < ApplicationRecord
|
||||
validates :name, presence: true
|
||||
validates :name, uniqueness: true
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user