update rails/upgrade_3_0_to_3_1 snippet