markbates / markbates/Programming-In-CoffeeScript

Chpt 10: Setting up MongoDB using Mongoose = image error

Offen
#3 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
CoffeeScript
Sterne
62
Forks
20
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit Kapitel 10, dem Abschnitt „MongoDB mit Mongoose einrichten“, und dem app.coffee-Bild aus Beispiel 3. Vergleiche das Kindle-Bild mit den umgebenden Anweisungen und überprüfe, dass die require-Zeile für todos_controller angezeigt wird; erledigt bedeutet, dass das Beispielbild mit den folgenden Schritten übereinstimmt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
coffeescript
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.