Strange error in Ecto.Multi

I was referring to this:

Records.update_record(Repo.get(Record, book_to_be_returned.record_id), %{