small medium large xlarge

The latest version of the book is B5.0, released about 1 month ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: B1.0 (01-Jun-18)
#83206
PDF page: 6
"To start, you’ll need Elixir 1.4 or greater, and a database that can support Ecto 2.2 (we recommend Postgres, but you can also use MySQL)" I don'...more...
  • Reported in: B3.0 (27-Aug-18)
#83581
PDF page: 6
Array type is not supported by MySQL When running mix ecto.setup I get the following error: 13:11:11.566 [info] == Running MusicDB.Repo.Migrati...more...
  • Reported in: B5.0 (09-Dec-18)
#84128
PDF page: 10
We’ll take you though what we believe is the optimal path for learning the major components[..] Should be through instead of though.--Lauritz Hilsø...more...
  • Reported in: B5.0 (06-Nov-18)
#83864
Paper page: 28

On this page, in the examples of code, you use "a.title" instead of "a.name".--Dusan Babiak

  • Reported in: B5.0 (06-Nov-18)
#83865
Paper page: 28

Can you delete the errata which I put previously I was mistaken. It is my typo :-)--Dusan Babiak

  • Reported in: B3.0 (31-Oct-18)
#83834
PDF page: 77
"When we try to run this code, the output is surprising..." I didn't get an error message because changeset/2 is already defined in the sample code...more...
  • Reported in: B4.0 (12-Oct-18)
#83766
PDF page: 79
Near the top of the page, after the end of the code sample is the sentence: "It’s OK if the ids don’t match exactly, but the titles should be the s...more...
  • Reported in: B5.0 (27-Nov-18)
#83990
PDF page: 92
I know that, this book mainly focused on Ecto 2.x, but I wish you will update it to cover changes in Ecto 3.x. I used Ecto 3.0.x and in the example in...more...
  • Reported in: B3.0 (19-Aug-18)
#83543
PDF page: 108

In order to make "from" and "Repo" work additionally these lines need to be added:
import Ecto.Query
alias MusicDB.Repo
--Andreas Pehnack

  • Reported in: B5.0 (29-Nov-18)
#84030
PDF page: 127
In fourth line over "Displaying Changeset Errors" title, it is written: ======== If it succeeds, we redirect the user to the homepage. ======== Th...more...
  • Reported in: B5.0 (01-Dec-18)
#84053
PDF page: 170
During the explanation on many-to-many relationships, you mention that we cannot use the simple many_to_many relationship if we want to store extra fi...more...
  • Reported in: B4.0 (05-Sep-18)
#83613
PDF page: 175
The section starting Approach #1: Multiple Foreign Keys - all of it. See SQL Antipatterns by Bill Karin, Pragmatic Bookshelf. Chapter 7. This is...more...
  • Reported in: B3.0 (22-Aug-18)
#83572
Paper page: 236
In the section on Changing Timestamps. trying to create timestamps with a timezone fails with: timestamps(type: :utc_datetime) Results in Pos...more...