diff options
author | Edouard CHIN <edouard.chin@shopify.com> | 2018-07-10 12:03:54 -0400 |
---|---|---|
committer | Edouard CHIN <edouard.chin@shopify.com> | 2018-07-30 18:12:56 -0400 |
commit | 015477ae9109d4105d5a5057d82338f198febb74 (patch) | |
tree | c491df5cda00133217c5d4d99cd35b2f7f5506e5 /activerecord/test/migrations/decimal | |
parent | d4ea114bd611c608482375af94f49e2d54889202 (diff) | |
download | rails-015477ae9109d4105d5a5057d82338f198febb74.tar.gz rails-015477ae9109d4105d5a5057d82338f198febb74.tar.bz2 rails-015477ae9109d4105d5a5057d82338f198febb74.zip |
A regression in deprecate_methods was introduced in a982a42:
- Refactoring alias_chain to Module#prepend broke the possibility to deprecate class methods since the module
generated was prepended to the target's instance.
A suggestion to fix this was to use `AS#redefine_method` which would solve the
problem but with the cost of redefining directly the method.
Decided to go with the same alias_chain implementation as before instead.
- Fixes #33253
Diffstat (limited to 'activerecord/test/migrations/decimal')
0 files changed, 0 insertions, 0 deletions