This commit removes alias_method_chain and replaces it with somewhat of a hack. We cannot right out switch to Module.prepend without sacrificing Ruby 1.9 compatibility and rewriting our specs.
This ensures we can support Rails 5.1, which no longer has alias_method_chain at all.
This commit removes
alias_method_chain
and replaces it with somewhat of a hack. We cannot right out switch toModule.prepend
without sacrificing Ruby 1.9 compatibility and rewriting our specs.This ensures we can support Rails 5.1, which no longer has
alias_method_chain
at all.