class ActiveRecord::Associations::JoinDependency::JoinPart

def each(&block)

def each(&block)
  yield self
  children.each { |child| child.each(&block) }
end