4 lines
112 B
Ruby
4 lines
112 B
Ruby
class Software < ApplicationRecord
|
|
has_many :versions
|
|
validates :name, presence: true, uniqueness: true
|
|
end
|