Elixir infinum.co

Things I wish ActiveRecord had after using Ecto  ↦

Great list, and I agree with many of Vladimir’s points. However, I have to admit that Ecto’s take on preloading still bugs me after years of use.

I find myself doing the preload dance all over the place even when I’m well aware of the performance issues around N+1 queries. I thought I’d get used to it over time, but it still irks me every time I see an Ecto.Association.NotLoaded exception.


Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00