Programming Phoenix LiveView B9.0: "invalid association `ratings` in schema Pento.Catalog.Product" (p. 166) (PDF)

On page 166, in the file lib/pento/catalog/product.ex, the example code instructs the reader to use the following import statement: alias Pento.Catalog.Rating.

This produces an error in ElixirLS because the Rating module is not located in the Pento.Catalog module namespace. The error reads: invalid association ratings in schema Pento.Catalog.Product: associated schema Rating does not exist (Elixir)

The import statement should be corrected to read: alias Pento.Survey.Rating

Thanks! I believe this has already been updated in the latest available version of the book.