Read about our upcoming Code of Conduct on this issue

release.rb 186 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1
class Release < ActiveRecord::Base
2
3
4
5
  include CacheMarkdownField

  cache_markdown_field :description

6
7
  belongs_to :project

8
  validates :description, :project, :tag, presence: true
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
9
end