gitlab-org--gitlab-foss/app/models/release.rb
2016-06-03 11:10:17 +02:00

5 lines
119 B
Ruby

class Release < ActiveRecord::Base
belongs_to :project
validates :description, :project, :tag, presence: true
end