Update Rails to 4.0.1

Update Rails version to 4.0.1