Because of the issue https://github.com/rails/rails/issues/42439 I have investigated the methods find
and find_by
from finder_methods.rb and core.rb.
If I understood well on Post.find
the find
method from core.rb
is called. super
references to finder_methods
. And the only purpose of find
and find_by
on core.rb
is the statement cache handling. Is this correct? Would it make sense to document it on core.rb
.
Thanks!