ActiveSupport::LazyLoadPatch
Ensure load hooks can be called more than once with different contexts
Based on https://github.com/rails/rails/commit/c0a5b8505d0fa9095cbee8b709f9aadf630a3716
Installation
Add this line to your application's Gemfile:
gem 'active_support-lazy_load_patch'
And then execute:
$ bundle
Or install it yourself as:
$ gem install active_support-lazy_load_patch
Contributing
- Fork it ( https://github.com/abak-press/active_support-lazy_load_patch/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request