module

DynFork::QPaladins::Fixtures

Fixtures - To populate the database with pre-created data.
config/fixtures - Directory for creating fixtures. NOTE: How to use, see example. NOTE: How to use, see example.

Instance methods

apply_fixture(fixture_name : String | Nil, collection_ptr : Pointer(Mongo::Collection)) : Nil

Apply fixture for current Model. NOTE: How to use, see example. NOTE: How to use, see example. WARNING: Runs automatically during Model migration.

Source