![]() |
1
1
我建议将您的test_数据库和“test”环境保留为“干净”状态。然后,您可以设置一个单独的数据库,最初将其作为“脏”数据库种子。您的rails\u助手文件中的before钩子也可以这样设置:
|
![]() |
2
1
我发现将以下配置添加到
|
![]() |
Stilian · 存储库设置中没有Github页面部分 2 年前 |
![]() |
Kellen · 查看$卷展栏功能列表 2 年前 |
![]() |
Akshit Thakur Ak · 我怎样才能把铁轨停下来? 2 年前 |
![]() |
johncssjs · 将数组转换为每个元素的嵌套哈希 2 年前 |
![]() |
solidsnake99 · Rails db:如何绕过验证 2 年前 |