lock rails version