markbates / markbates/Programming-In-CoffeeScript

Chpt 10: Setting up MongoDB using Mongoose = image error

Đang mở
#3 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
CoffeeScript
Star
62
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với Chapter 10, phần “Thiết lập MongoDB bằng Mongoose”, và hình ảnh app.coffee của Example 3. So sánh hình ảnh Kindle với các hướng dẫn xung quanh và xác minh rằng dòng require của todos_controller được hiển thị; hoàn tất nghĩa là hình ảnh ví dụ khớp với các bước tiếp theo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
coffeescript
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
45/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.