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 committed Apr 23, 2018
1 parent c3b6806 commit e3dc782
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 e3dc782

Please sign in to comment.