Algorithms are Magical!

Rails AutoLoading Magic Gone Wrong!

Yonatan Miller
Oct 26, 2017 · 2 min read
$ bin/rails r 'puts ActiveSupport::Dependencies.autoload_paths'
.../app/assets
.../app/controllers
.../app/helpers
.../app/mailers
.../app/models
.../app/resources # This is loaded before models/
.../app/controllers/concerns
.../app/models/concerns
.../test/mailers/previews

Code O’Clock

DaWanda Developers Blog

Yonatan Miller

Written by

Programmer 💻🔥 Articles are my own, sorta ☕ Writing for pleasure and advocacy.

Code O’Clock

DaWanda Developers Blog