Skip to content

Is there a reason to why ActiveRecord::Associations::Preloader is a nodoc? #11719

@hovsater

Description

@hovsater

Just recently I stumbled across a problem where I had to a pretty complex query using .find_by_sql. Unfortunately, eager loading in the form of .includes, doesn't work with that finder method.

After asking around, I got introduced to ActiveRecord::Associations::Preloader which came very handy in this particular situation. I was surprised to see that it was marked as a nodoc (see https://github.com/rails/rails/blob/master/activerecord/lib/active_record/associations/preloader.rb), even though it's very well documented.

Is there any reason to this? Otherwise, I'd suggest to remove the nodoc mark and introduce it to the rest of the community.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions