Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Dec 17, 2013
  1. @pixeltrix
Commits on Feb 19, 2013
  1. @pixeltrix

    Don't unhook autoloading in production

    pixeltrix authored
    Whilst autoloading is known to be not threadsafe, leaving it in place
    is a softer solution than failing hard when an application is deployed.
    Many older applications will have paths added to `autoload_paths` and
    ideally these should be eagerly loaded to be threadsafe. However one
    of these paths is quite often lib which could lead to unintended
    consequences due to the 'junk drawer' nature of this directory.
    Developers should refrain from adding paths to `autoload_paths` or
    `eager_load_paths` and use custom folders inside app for code that
    needs to be eagerly loaded and use `require` or `require_dependency`
    to explicitly load code from other locations.
Something went wrong with that request. Please try again.