Repo.update() with set attributes - returns {:ok, _user} but no query happens

So I went to comment on the video and saw someone else already and has already discussed it here! Reviewing Phoenix LiveView Uploads Deep Dive

Sorry to tag you @chrismccord but is there any chance you can call this out in the video description? It seems some people are stumbling over it. For my case, I was following the tutorial while adding uploads to an existing project where I was starting with an existing record, so it was a while before I saw anything working. Ultimately this was not a big deal and I hope I’m not coming off as annoyed—I’m crazy thankful for your work. I’m actually trying to sell a bunch of people on LiveView (and Elixir and Phoenix in general) and I’m asking because I would hate for on-the-fence folk to experience this.

2 Likes