[openstreetmap/openstreetmap-website] alias_method_chain deprecation (#1602)

Andy Allan notifications at github.com
Wed Aug 2 11:59:03 UTC 2017


Currently we get warnings when running the tests:

```
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/andy/src/openstreetmap-website/config/application.rb:17)
```
As far as I can tell, this is being triggered by one or other of these two gems:

* [oauth](https://github.com/oauth-xx/oauth-ruby/blob/e397b3e2f540faaebd7912aeb2768835d151f795/lib/oauth/client/action_controller_request.rb#L21)
* [deadlock_retry](https://github.com/mperham/deadlock_retry/blob/874c80de92d9eb30405536916aff86f616649b01/lib/deadlock_retry.rb#L8)

In both cases there's not yet a newer version to upgrade to. The method [has been removed in rails 5.1](https://github.com/rails/rails/commit/7c848e6dd493ff236d33a0410a92f4c3e5cc3c7f) so I think this is blocking any upgrade.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/1602
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20170802/1fa62252/attachment.html>


More information about the rails-dev mailing list