50abbd3e53
Partially addresses #47424.
11 lines
217 B
Ruby
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
|