lib/rails_erd/domain/relationship.rb in rails-erd-1.5.2 vs lib/rails_erd/domain/relationship.rb in rails-erd-1.6.0
- old
+ new
@@ -19,11 +19,10 @@
end
private
def association_identity(association)
- identifier = association_identifier(association).to_s
- Set[identifier, association_owner(association), association_target(association)]
+ Set[association_owner(association), association_target(association)]
end
def association_identifier(association)
if association.macro == :has_and_belongs_to_many
# Rails 4+ supports the join_table method, and doesn't expose it