-
Notifications
You must be signed in to change notification settings - Fork 20
Chpt 10: Setting up MongoDB using Mongoose = image error #3
Description
Hi
Not sure where you want bug reports about issues in the book? is it ok here? or should I sent to your publisher?
In Chapter 10: section: Setting up MongoDB using Mongoose:
Example 3: app.coffee - you say we need to update our app to include the todo model we just created...I assume you mean we need to update app.coffee with the require todos_controller -- but the image included in the Kindle version I have - does not show any controller line being added - it just repeats a previous code block that did not have any changes to it in this one.
Its missing this line:
require("#{__dirname}/src/controllers/todos_controller")
and the rest of the section expects that you did that - but if you follow explicitly you missed it and won't get the results the book shows! :)
hope this helps someone!
cheers.