Skip to content

Commit

Permalink
don't use class vars that wander classes
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Nov 6, 2020
1 parent 1fbd2e6 commit d6bc698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/mixins/relationship_mixin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6bc698

Please sign in to comment.