1361 Update to latest rails