spec/dummy/app/models/subject_role.rb in aaf-gumboot-1.0.0.pre.alpha.2 vs spec/dummy/app/models/subject_role.rb in aaf-gumboot-1.1.0

- old
+ new

@@ -1,5 +1,7 @@ -class SubjectRole < ActiveRecord::Base +# frozen_string_literal: true + +class SubjectRole < ApplicationRecord belongs_to :subject belongs_to :role validates :subject, :role, presence: true end