News for hackers. Stuff that matters.
Re:I Miss Rails by ileri62 on Friday March 29, 2019 @02:43AM (#19519627)
Serious question: Django doesn't even have lazy loading. Why do people use it? Am I missing something? No way I'd wait a few seconds to get something big from the db
Re:I Miss Rails by hombre_fatal on Friday March 29, 2019 @03:00AM (#19519692)
What are you referring to?

Lazy loading in Rails tends to refer to how Active Record waits until access time to send the query: https://rubyinrails.com/2014/01/08/what-is-lazy-loading-in-r...

It's still synchronous.

Re:I Miss Rails by sjamaan on Friday March 29, 2019 @04:57AM (#19520086)
Django has this type of lazy loading as well: https://docs.djangoproject.com/en/2.1/ref/models/querysets/#...
Re:I Miss Rails by collyw on Friday March 29, 2019 @09:37AM (#19521535)
Yes it does, the problem seems to be that no one bothers to learn how the ORM works.