summaryrefslogtreecommitdiff
path: root/app/models/release.rb
blob: c936899799e790d54163db02d94bc9c131cb2f0e (plain)
1
2
3
4
5
6
7
8
9
class Release < ActiveRecord::Base
  include CacheMarkdownField

  cache_markdown_field :description

  belongs_to :project

  validates :description, :project, :tag, presence: true
end