Created
June 7, 2016 05:19
-
-
Save mmmpa/ef4233fcd92ccca29c70cc7ac4d5d255 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rails_erd/domain/relationship' | |
module RailsERD | |
class Domain | |
class Relationship | |
class << self | |
private | |
def association_identity(association) | |
Set[association_owner(association), association_target(association)] | |
end | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment