diff options
author | mrageh <adam@mrageh.com> | 2016-07-12 00:39:03 +0100 |
---|---|---|
committer | mrageh <adam@mrageh.com> | 2016-07-12 02:44:50 +0100 |
commit | 949485550f4fbd2f194c7851c5ca8b8026fe2cbb (patch) | |
tree | 6a57affbe62e1845226d696acadf16a8a7b204b4 /railties/test/isolation/abstract_unit.rb | |
parent | 629dde297ce5e4b7614fbb0218f2593effaf7e28 (diff) | |
download | rails-949485550f4fbd2f194c7851c5ca8b8026fe2cbb.tar.gz rails-949485550f4fbd2f194c7851c5ca8b8026fe2cbb.tar.bz2 rails-949485550f4fbd2f194c7851c5ca8b8026fe2cbb.zip |
Wrap module around lazy load hooks
Fix for issue https://github.com/rails/rails/issues/25784
Prior to this commit the lazy_load_hooks.rb file contained important lazy load
hooks. Since [7c90d91](https://github.com/rails/rails/commit/7c90d91c3c43bdbba25d38589aed0e2940af3bc8) the [documentation](http://api.rubyonrails.org/files/activesupport/lib/active_support/lazy_load_hooks_rb.html) did not display
the comments in this file as the docs for load hooks.
This commit wraps the code within this file in a module so we can display the
documentation for `ActiveSupport` load hooks. By extending `ActiveSupport` with
this module, all the methods within it should still be accessible through
`ActiveSupport`.
Diffstat (limited to 'railties/test/isolation/abstract_unit.rb')
0 files changed, 0 insertions, 0 deletions