On Thursday, February 4, 2016 at 6:35:53 PM UTC-6, Jeremy Evans wrote: > > On Thursday, February 4, 2016 at 3:50:43 PM UTC-8, Mike Pastore wrote: >> >> Thanks Jeremy. I appreciate the quick response. I'm actually having >> pretty good luck with the tactical_eager_loading plugin, to the point that >> I may be able to get rid of my own clumsy eager-loading pattern entirely! >> Any gotchas I need to be aware of? >> > > The main way tactical_eager_loading bites you is if you only want to load > an association for a single record or small group of records that were > retrieved with a bunch of other records. This isn't that common, and is > possible to work around when it does happen. >
Well, that's quite a nice commit: [master bb66fd5] Switch to new eager-loading strategy for everything 4 files changed, 36 insertions(+), 106 deletions(-) Once again, Sequel impresses! I'll write a note (or maybe submit a documentation PR) to the maintainer of the json:api serialization library I'm using. I think other Sequel users would appreciate a heads up that this plugin works quite nicely for side-loading related records. Thanks again, Mike -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
