There is probably a simple reason for this, but haven’t figured it out yet.
If you alias_method destroy on an AR model and then call that method from a module included destroy, it works fine in Ruby 1.9.3 but not Ruby 2.0.0-p247.
The workaround is to call super instead. I’m curious as to why this depends on the Ruby version.
Here is the project to reproduce. I know it is a fringe usage case:
https://github.com/garysweaver/fun_20131206
Thanks