rails correction