This sounds interesting.  

On Wednesday, 28 November 2018 04:11:53 UTC+5:30, Tom Rossi wrote:
>
> Its common for me to look for orphans and I typically do it like this:
>
> Child.eager_load(:parent).where(parents: { id: nil })
>
> I would like to propose putting together a PR for something like this:
>
> Child.missing(:parent)
> Parent.missing(:children)
>
> Please let me know if others are interested in the functionality and I 
> would love to give it a shot!
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at https://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/d/optout.

Reply via email to