mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
This change uses Module.redefine_method as defined in ActiveSupport. Making Module.define_method public would be as clean in the code, and would also emit warnings when redefining an association. That is pretty messy given current tests, so I'm leaving it for someone else to decide what approach is better.