diff --git a/app/models/mixins/relationship_mixin.rb b/app/models/mixins/relationship_mixin.rb index 6743f0eeb7a..19e2d4c312e 100644 --- a/app/models/mixins/relationship_mixin.rb +++ b/app/models/mixins/relationship_mixin.rb @@ -26,7 +26,7 @@ module RelationshipMixin included do extend Memoist - cattr_accessor :default_relationship_type + class_attribute :default_relationship_type class_attribute :skip_relationships, :default => [] has_many :all_relationships, :class_name => "Relationship", :dependent => :destroy, :as => :resource