Updated to safe version of rails