SUSE/hackweek

View on GitHub
app/models/update.rb

Summary

Maintainability
A
0 mins
Test Coverage
class Update < ApplicationRecord
  validates_presence_of :author_id, :project_id

  belongs_to :author, class_name: 'User'
  belongs_to :project
end