Closed hugoabonizio closed 7 years ago
2 Warnings | |
---|---|
:warning: | There’re library changes, but not tests. That’s OK as long as you’re refactoring existing code. |
:warning: | Unless you’re refactoring existing code, please update CHANGELOG.md. |
Here's an example of a CHANGELOG.md entry:
* [#241](https://github.com/mongoid/mongoid-slug/pull/241): Remove deprecated alias_method_chain - [@hugoabonizio](https://github.com/hugoabonizio).
Generated by :no_entry_sign: danger
The deprecation suggests we use prepend
. What's the reason not to do this?
@dblock I refactored using Module#prepend
.
Great stuff.
am cloning one project from the bitbuket am still getting this warning i don't know what's it and from where it's coming exactly
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /home/clickapps/sites/mbeet_api/config/application.rb:18)
Model files unchanged.
Replace
alias_method_chain
with equivalentalias_method
. Fix #232 .