Hire Us

Railsware Blog

on product management, engineering, design, culture and many more...

Fixing multithreading for Rails

Fixing multithreading for Rails in development mode

Preface In Rails, automatic code reloading in development mode is based on autoload,which is not threadsafe. It means you can’t use it while developing multithreaded Rails applications(especially for JRuby). But several monkeypatches can do the trick. Workaround When we discovered this limitation almost a year ago, we had next options: …