Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

RhoUtils API

Seed the Rhom database. For an example, see Seeding the Database in Using the Local Database with Rhom.


Seed the Rhom database with initial data.

Rho::RhoUtils.load_offline_data(table_array, seed_prefix_directory)
table_array Array containing table names, which corresponds to pipe-delimited files.
seed_prefix_directory Relative path to a directory containing a directory named fixtures, which contains the files listed in table_array.
Back to Top