You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There should be a note in chapter 4 about class side initialization of TBBlog class. Since it is invoked explicitly by user, class is initialized (and Mongo memory DB) only when this initialized method is called by user. Therefore note to Save image right after initialization in order to persist state of DB, otherwise DB won't be initialized next time image is opened. Current state:
The ==reset== class method re-initializes the database. The ==initialize== class method ensures that the database is initialized when we load TinyBlog's code. Do not forget to execute expression ==TBBlog initialize== to ensure that the database is initialized.
Proposal to add right after that: Note: Please save your image right after you evaluated initialize method. Class side initialization is done only when explicitly evaluated by user. Therefore TBBlog initialization might be lost, if you quit the image without saving changes.
The text was updated successfully, but these errors were encountered:
The ==reset== class method re-initializes the database. The ==initialize== class method ensures that the database is initialized when we load TinyBlog's code. Do not forget to execute expression ==TBBlog initialize== to ensure that the database is initialized.
There should be a note in chapter 4 about class side initialization of TBBlog class. Since it is invoked explicitly by user, class is initialized (and Mongo memory DB) only when this initialized method is called by user. Therefore note to Save image right after initialization in order to persist state of DB, otherwise DB won't be initialized next time image is opened.
Current state:
Proposal to add right after that:
Note: Please save your image right after you evaluated
initialize
method. Class side initialization is done only when explicitly evaluated by user. Therefore TBBlog initialization might be lost, if you quit the image without saving changes.The text was updated successfully, but these errors were encountered: