diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-10 10:20:22 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-11-10 10:20:22 +0100 |
commit | 354b69dde2ba399a4269a0f544fd7a4e399d8b7e (patch) | |
tree | b44fb02b7c44cdf2fd30df907e22ad180240b873 /app/models/release.rb | |
parent | 2ee3f8381bd498cae52cbc0fbeb656ceae5cde9e (diff) | |
parent | b7619dad52504f8fc61bfb3b42e7f8bcc42dc06d (diff) | |
download | gitlab-ce-354b69dde2ba399a4269a0f544fd7a4e399d8b7e.tar.gz |
Merge remote-tracking branch 'origin/release-notes'
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/models/release.rb')
-rw-r--r-- | app/models/release.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/release.rb b/app/models/release.rb new file mode 100644 index 00000000000..e196b84eb18 --- /dev/null +++ b/app/models/release.rb @@ -0,0 +1,5 @@ +class Release < ActiveRecord::Base + belongs_to :project + + validates :description, :project, :tag, presence: true +end |