blob: d4e26d5397b8afb39341372397dfecca11f3244a (
plain) (
tree)
|
|
require_relative "join_part"
module ActiveRecord
module Associations
class JoinDependency # :nodoc:
class JoinBase < JoinPart # :nodoc:
attr_reader :table
def initialize(base_klass, table, children)
super(base_klass, children)
@table = table
end
def match?(other)
return true if self == other
super && base_klass == other.base_klass
end
end
end
end
end
|