app/models/cas/sites_user.rb in cas-cms-0.1.3 vs app/models/cas/sites_user.rb in cas-cms-1.0.0.alpha1

- old
+ new

@@ -1,7 +1,7 @@ module Cas class SitesUser < ApplicationRecord belongs_to :site belongs_to :user - belongs_to :owner, class_name: '::Cas::User' + belongs_to :owner, class_name: '::Cas::User', optional: true end end