class Software < ApplicationRecord has_many :versions validates :name, presence: true, uniqueness: true end