Rails4 changes