spec/dummy/app/models/api_subject_role.rb in aaf-gumboot-1.0.0.pre.alpha.2 vs spec/dummy/app/models/api_subject_role.rb in aaf-gumboot-1.1.0
- old
+ new
@@ -1,5 +1,7 @@
-class APISubjectRole < ActiveRecord::Base
+# frozen_string_literal: true
+
+class APISubjectRole < ApplicationRecord
belongs_to :api_subject
belongs_to :role
validates :api_subject, :role, presence: true
end