diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-07 16:03:18 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-12-07 18:16:30 +0900 |
commit | 59ff1ba30d9f4d34b4d478104cc3f453e553c67a (patch) | |
tree | 99eb98aed89e1be8309c68d3979993bf5f76291d /activerecord/test/cases/adapters/mysql2/enum_test.rb | |
parent | f173ec77fc35ce57e94398310308e868689366bb (diff) | |
download | rails-59ff1ba30d9f4d34b4d478104cc3f453e553c67a.tar.gz rails-59ff1ba30d9f4d34b4d478104cc3f453e553c67a.tar.bz2 rails-59ff1ba30d9f4d34b4d478104cc3f453e553c67a.zip |
Make `deprecate` work for non-exists methods
Before #33325, `deprecate` works for non-exist methods.
This is necessary, for example, if want to deprecate dynamically defined
methods like attributes methods.
Fixes #34646
Diffstat (limited to 'activerecord/test/cases/adapters/mysql2/enum_test.rb')
0 files changed, 0 insertions, 0 deletions