debian-mirror-gitlab/app/models/release.rb
2016-06-02 11:05:42 +05:30

5 lines
119 B
Ruby

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