debian-mirror-gitlab/app/models/release.rb
2018-11-18 11:00:15 +05:30

11 lines
217 B
Ruby

# frozen_string_literal: true
class Release < ActiveRecord::Base
include CacheMarkdownField
cache_markdown_field :description
belongs_to :project
validates :description, :project, :tag, presence: true
end