Hello @SophieDeBenedetto,
1. Wrong Generator Context
On page 64 of chapter 6, when starting to generate and setup the code we will need, it states to generate the Rating
under the Survey
context:
mix phx.gen.context Survey Rating ratings ...<fields>...
but on page 166, when aliasing Rating
, it aliases Rating
under the Catalog
context.
2. Wrong Aliasing Context
On page 165, there is an error when describing the code. It says:
Remember to add an alias for Pento.Catalog.Product and Pento.Catalog.User to your
Pento.Survey.Rating module while you’re there.
The User
is under the Accounts
context.