# Discourse and ruby "require"

**URL:** https://meta.discourse.org/t/discourse-and-ruby-require/60664
**Category:** Development
**Created:** [April 9, 2017, 1:57am UTC](https://meta.discourse.org/t/discourse-and-ruby-require/60664 "2017-04-09T01:57:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![oystersauce8](https://avatars.discourse-cdn.com/v4/letter/o/65b543/32.png) [@oystersauce8](https://meta.discourse.org/u/oystersauce8)
#### Post date: [April 9, 2017, 1:57am UTC](https://meta.discourse.org/t/discourse-and-ruby-require/60664/1 "2017-04-09T01:57:08Z")

</div>

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](http://guides.rubyonrails.org/autoloading_and_reloading_constants.html)  
[2] [Rails autoloading — how it works, and when it doesn't](http://urbanautomaton.com/blog/2013/08/27/rails-autoloading-hell/)
