Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
所以我打算按照这里的建议Rho::RhoUtils.load_offline_data使用该方法来播种我的应用程序的数据库
Rho::RhoUtils.load_offline_data
我想知道的是我应该在哪里调用这个方法?理想情况下,我希望在构建应用程序时可以使用种子数据库。因此,例如,与其在第一次应用程序时播种数据库。
看起来它是为AppApplication 初始化方法而设计的