fix deprecated option name
update rails version