I was curious as to what the accepted way to call related models is within the model file. In keeping with the Customers hasMany Orders example, it appears we must do the following:
var orderModel = Customer.app.models.Order;
orderModel .create( { customerId : <yourid>});
Is it possible to use the prototype.__create__customers() function, or is this only applicable within the server.js / boot scripts? I'm attempting to find the best way to force the creation of model B upon creation of model A, and ran into this question...