Update Rails to version 4.0.0