brentd / xray-rails

☠️ A development tool that reveals your UI's bones
MIT License
1.22k stars 79 forks source link

Remove alias_method_chain #83

Closed mattbrictson closed 7 years ago

mattbrictson commented 7 years ago

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.