Chpt 10: Setting up MongoDB using Mongoose = image error

Open
#3 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
coffeescript
Domain
documentation

Research direction

Start with Chapter 10, the “Setting up MongoDB using Mongoose” section, and Example 3’s app.coffee image. Compare the Kindle image with the surrounding instructions and verify that the todos_controller require line is shown; done means the example image matches the steps that follow.

Written by the indexing model from the issue text.

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.

Dominant language
CoffeeScript
Stars
62
Forks
20
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from markbates/Programming-In-CoffeeScript

All issues in markbates/Programming-In-CoffeeScript

Similar issues

More Documentation issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.