Discourse and ruby "require"


(Sam Weerasinghe) #1

I was reading the Rails autoloading guide [1] and it seems Rails Autoloading was designed so that programmers don’t have to write “require …” statements. This is also mentioned in this other article [2]

But looking at config/application.rb, there are a ton of “require …” statements.

Whats going on, what am missing here?

[1] Autoloading and Reloading Constants — Ruby on Rails Guides
[2] Rails autoloading — how it works, and when it doesn't