from the controller I see this could be either empty or nil, I would suggest

    = render @kids if @kids.present?