lib/rails_erd/domain/relationship.rb in rails-erd-1.4.6 vs lib/rails_erd/domain/relationship.rb in rails-erd-1.4.7
- old
+ new
@@ -19,10 +19,10 @@
end
private
def association_identity(association)
- identifier = association_identifier(association)
+ identifier = association_identifier(association).to_s
Set[identifier, association_owner(association), association_target(association)]
end
def association_identifier(association)
if association.macro == :has_and_belongs_to_many