n8 / multi_fetch_fragments

Multi-fetch Fragments makes rendering and caching a collection of template partials easier and faster.
http://ninjasandrobots.com/rails-faster-partial-rendering-and-caching
MIT License
539 stars 63 forks source link

"alias_method_chain" Rails 5 deprecation warning #34

Open mahemoff opened 8 years ago

mahemoff commented 8 years ago

I'm seeing this deprecation warning while upgrading to Rails 5:

DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from block in module:MultiFetchFragments at /home/project/vendor/cache/multi_fetch_fragments-59612d54fc3f/lib/multi_fetch_fragments.rb:5)

mahemoff commented 7 years ago

I just realised this gem is being pulled into Rails 5, which might make the issue moot. It doesn't seem 100% done yet though.