9 lines
186 B
Ruby
9 lines
186 B
Ruby
class Release < ActiveRecord::Base
|
|
include CacheMarkdownField
|
|
|
|
cache_markdown_field :description
|
|
|
|
belongs_to :project
|
|
|
|
validates :description, :project, :tag, presence: true
|
|
end
|