summaryrefslogtreecommitdiff
path: root/app/models/release.rb
blob: cba80ad30caaba9aecf4c0830f2d9d29f10e912a (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class Release < ActiveRecord::Base
  include CacheMarkdownField

  cache_markdown_field :description

  belongs_to :project

  validates :description, :project, :tag, presence: true
end