Rho::RhoUtils API

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

load_offline_data

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.
Print this page
View as a PDF