markbates / markbates/Programming-In-CoffeeScript

Chpt 10: Setting up MongoDB using Mongoose = image error

未關閉
#3 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
CoffeeScript
星號
62
分支
20
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

從第 10 章「使用 Mongoose 設定 MongoDB」部分以及 Example 3 的 app.coffee 圖片開始。將 Kindle 圖片與周圍的說明進行比較,並確認其中顯示了 todos_controller 的 require 行;完成的標準是範例圖片與後續步驟相符。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
coffeescript
領域
documentation
Issue 類型
文件
難度
1/5
預估耗時
1 小時以內
活躍度
停滯
描述清晰度
描述清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。