debian-mirror-gitlab/app/models/release.rb
2016-11-03 12:29:30 +05:30

9 lines
186 B
Ruby

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