去除rails4依赖