require() bombed my multi-threaded app!
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.
https://github.com/nybblr/ruby-code-loading
Jonathan Lee Martin
November 13, 2015
Annual Pro sale · Save $30
Have presentations of your own?
Share with private links, password protection, and more control over your work.