Elixir Icon

Things I wish ActiveRecord had after using Ecto

logged by @jerodsanto 2018-01-30T22:45:00.010628Z permalink #elixir #rails

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.

0:00 / 0:00