2015-11-05 05:03:02 -05:00
|
|
|
class Release < ActiveRecord::Base
|
2016-10-06 17:17:11 -04:00
|
|
|
include CacheMarkdownField
|
|
|
|
|
|
|
|
cache_markdown_field :description
|
|
|
|
|
2015-11-06 09:29:04 -05:00
|
|
|
belongs_to :project
|
|
|
|
|
2015-11-09 09:30:50 -05:00
|
|
|
validates :description, :project, :tag, presence: true
|
2015-11-05 05:03:02 -05:00
|
|
|
end
|