Many-to-many relationships in Ember CLI Mirage factories
The many-to-many example provided with the introduction of Mirage 0.3 lays out how to create many-to-many joins between specific instances of two models. It does this by hard coding the creation of a few books and a couple of authors, as well as the links between them, but stops short of using factories to generate such relationships … [Read more…]