hi, what you need to save is the persistent object, the one marked as “isVoyageRoot” in class side.
cheers, Esteban > On 27 Apr 2018, at 14:44, sergio ruiz <[email protected]> wrote: > > > For some reason, I am not able to do this: > > Object subclass: #TestBox > instanceVariableNames: 'origin corner pointList' > classVariableNames: '' > poolDictionaries: '' > category: 'PrintBot-Models’! > > initialize > pointList := OrderedCollection new. > > > If i do something like below, I don’t see the list of points ever show up in > mongo.. > > Ideas? > > b := TestBox new. > b save. > p1 := Point x:0 y:0. > p1 save. > p2 := Point x:12 y:343. > p2 save. > > b origin: p1. > b corner: p2. > > b save. > > b pointList add: p1. > b save. > b pointList add: p2. > b save. > > > > ---- > peace, > sergio > photographer, journalist, visionary > > Public Key: http://bit.ly/29z9fG0 <http://bit.ly/29z9fG0> > #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV > http://www.codeandmusic.com <http://www.codeandmusic.com/> > http://www.twitter.com/sergio_101 <http://www.twitter.com/sergio_101> > http://www.facebook.com/sergio101 <http://www.facebook.com/sergio101>
