Feature: Unassigned Merge Requests

This commit is contained in:
Dmitriy Zaporozhets 2012-07-17 08:19:16 +03:00
parent 80f2ef2d02
commit a3bb9ca1fa
7 changed files with 22 additions and 14 deletions

View file

@ -22,7 +22,6 @@ class MergeRequest < ActiveRecord::Base
:should_remove_source_branch
validates_presence_of :project_id
validates_presence_of :assignee_id
validates_presence_of :author_id
validates_presence_of :source_branch
validates_presence_of :target_branch
@ -36,6 +35,7 @@ class MergeRequest < ActiveRecord::Base
delegate :name,
:email,
:to => :assignee,
:allow_nil => true,
:prefix => true
validates :title,