Rails4compability