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
|