in English, Room 1 at 12:15

require() bombed my multi-threaded app!

by
Jonathan Martin
(USA) Big Nerd Ranch, Twitter Linkedin

Would you like Circular Dependencies with that? In Rails we take autoloading for granted, but slow test suites and evasive multi-thread bombs too often drive us to upbraid ActiveSupport’s autoloading magic.

To dispel the magic, we will cover nothing less than the entirety of require’s modest origins, the enlightening truth of Ruby execution, a selection of minimal autoload examples, the most interesting ways to break integration specs, and utopian isolation practices. All while speeding up your test suite.

Speaker Bio

Jonathan is a Developer & Instructor at Big Nerd Ranch, where he sheds bikes in Rails (i.e. meticulous code architecture), or bores students with the “wats” of JavaScript in the Ranch’s immersive front-end bootcamp.

Outside the Ranch, he is a classically trained violinist and dancer, and is disconcertingly fond of books (he’s been through Lord of the Rings twenty times) and cheesecake.

Video
Organized by