Discourse and ruby "require"

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] http://guides.rubyonrails.org/autoloading_and_reloading_constants.html
[2] http://urbanautomaton.com/blog/2013/08/27/rails-autoloading-hell/

2 Likes