lab + homework ruby and ajax