1 2 3 4 5
class Release < ActiveRecord::Base belongs_to :project validates :description, :project, :tag, presence: true end