Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Don't unhook autoloading in production"
This reverts commit a8bf129.
- Loading branch information
a71350c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't spot that a8bf129 got reverted. @jeremy ISTR that you needed this for some of your apps - is that still the case or are we only talking about legacy apps that won't be upgraded to Rails 5?
a71350c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tenderlove, TY for reverting this. Any chance this will be backported to the 4.x series?
a71350c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@zdennis no. This i a huge change.
a71350c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rafaelfranca Anything needs to be mentioned in upgrade guides and release notes about this commit?
a71350c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. It needs to mention that if folder in the
autoload_paths
but not in theeager_load_paths
are not going to be loaded in production.a71350c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a link back to #13142 (comment) where this commit was discussed