Updates Rails version to 4.0.1 for security measures