Upgraded Rails to version 4.0.2 with latest security patches.