# File lib/tapkit/access/relationship.rb, line 106
                def inverse_relationship
                        @destination_entity.relationships.each do |rel|
                                if rel.destination_entity == @entity then
                                        rel.joins.each do |join|
                                                if @destination_attributes.include?(join.source) and \
                                                   @source_attributes.include?(join.destination) then
                                                        return rel
                                                end
                                        end
                                end
                        end
                        nil
                end