debian-mirror-gitlab/app/models/release.rb

6 lines
119 B
Ruby
Raw Normal View History

2015-11-26 14:37:03 +05:30
class Release < ActiveRecord::Base
belongs_to :project
validates :description, :project, :tag, presence: true
end