update rails version to fix bug