Upgrading rails to solve security issue