1👍
✅
Is the
create()
function inModel_2Manager
written correctly as is?
It is.
Is there some way for me to call
Model_1Manager
‘screate()
function?? How would that work?
Unfortunately in this case Model_1Manager.create()
does not do enough to initialize a Model_2
, so you should not attempt to call it.
Source:stackexchange.com