diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/models/release.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/models/release.rb b/app/models/release.rb index 1dc9ce6dd4f..05647839e84 100644 --- a/app/models/release.rb +++ b/app/models/release.rb @@ -1,2 +1,5 @@ class Release < ActiveRecord::Base + belongs_to :project + + validates :description, :project, presence: true end |