At one of our latest meetups, Rails core team member Xavier Noria introduced us to Zeitwerk, a new code loader for Ruby projects. Zeitwerk is going to be the default autoloader in Rails 6.

After a short intro to constants in Ruby, you will understand why the classic Rails autoloader is fundamentally limited, some gotchas arising from that, and how Zeitwerk addresses them.

You will also learn how to use it in gems, in Rails 6 apps, and learn some interesting aspects of its implementation.


Follow us on Twitter to get notified when we announce 📆 events like this Meetup.

Like what you see? Join us, we’re hiring. 🚀

0 whoop whoops