Rails4

Update to Rails4.