DmitryTsepelev / ar_lazy_preload

Lazy loading associations for the ActiveRecord models
MIT License
677 stars 24 forks source link

explain how this differs from goldiloader #5

Closed grosser closed 6 years ago

grosser commented 6 years ago

I've been using https://github.com/salsify/goldiloader for a while so I was curious how this project is different or if it offers any advantages ?

DmitryTsepelev commented 6 years ago

Hi! Thanks for your interest 🙂 to be honest, I haven’t heard about goldiloader when started working on this, and the idea was different - to allow perform lazy preloading by defining associations explicitly. Some time later I’ve bumped into goldiloader and decided to add that similar magic option (it was literally one-line change based on the existing functionality)

grosser commented 6 years ago

thx, maybe the projects can merge somehow, it's a complex problem that needs lots of eyes to get right :)

bf4 commented 3 years ago

curious what's changed here in the last two year plus. Maybe we just add to the readme: "What about goldiloader? Answer: I don't know. They're both probably fine"