spec/dummy/app/models/api_subject.rb in aaf-gumboot-1.0.0.pre.alpha.2 vs spec/dummy/app/models/api_subject.rb in aaf-gumboot-1.1.0
- old
+ new
@@ -1,7 +1,9 @@
+# frozen_string_literal: true
+
require 'accession'
-class APISubject < ActiveRecord::Base
+class APISubject < ApplicationRecord
include Accession::Principal
has_many :api_subject_roles
has_many :roles, through: :api_subject_roles