Remove explicit `require` calls, and use `require_dependency` when needed
What does this MR do?
This removes some unnecessary require
and use require_dependency
instead of require
when necessary (or when I was unsure the require
was needed).
See http://guides.rubyonrails.org/autoloading_and_reloading_constants.html#require-dependency for reference.
Closes #29389 (closed) /cc @nick.thomas