2018-11-18 11:00:15 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
class Release < ActiveRecord::Base
|
2016-11-03 12:29:30 +05:30
|
|
|
include CacheMarkdownField
|
|
|
|
|
|
|
|
cache_markdown_field :description
|
|
|
|
|
2015-11-26 14:37:03 +05:30
|
|
|
belongs_to :project
|
|
|
|
|
|
|
|
validates :description, :project, :tag, presence: true
|
|
|
|
end
|