ruby and node section to boxes