Rails4 remove model deprecation