Skip to content

Commit

Permalink
Remove identifier from association_identity
Browse files Browse the repository at this point in the history
  • Loading branch information
afn authored and kerrizor committed May 12, 2019
1 parent 6247343 commit 82406fd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/rails_erd/domain/relationship.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def from_associations(domain, associations) # @private :nodoc:
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)
Expand Down

0 comments on commit 82406fd

Please sign in to comment.