Cómo funciona Rails
Whenever you start a process to handle requests with Rails (such as with rails server), one of the first things that happens is that config/boot.rb is loaded.
There are three files involved in setting up the entire Rails stack:
- config/environment.rb
- config/boot.rb
- config/application.rb