diff options
author | James Lopez <james@jameslopez.es> | 2017-06-09 09:57:20 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-06-12 11:11:08 +0300 |
commit | eaf71fc963665fa6e65d085026e1122f6dedef75 (patch) | |
tree | 2412fcbdb6df77a5a670ca049fd8f67dcd171755 /app/models | |
parent | c61c3a0877eea1257deda015eca2267bc63e6a28 (diff) |
ignore name validation on importing
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/commit_status.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/commit_status.rb b/app/models/commit_status.rb index 55c16f7e1fd..f6fb5f536d5 100644 --- a/app/models/commit_status.rb +++ b/app/models/commit_status.rb @@ -15,7 +15,7 @@ class CommitStatus < ActiveRecord::Base validates :pipeline, presence: true, unless: :importing? - validates :name, presence: true + validates :name, presence: true, unless: :importing? alias_attribute :author, :user |