Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rails 5 deprecations #367

Closed
smolnar opened this issue Jan 26, 2016 · 1 comment
Closed

Rails 5 deprecations #367

smolnar opened this issue Jan 26, 2016 · 1 comment

Comments

@smolnar
Copy link

smolnar commented Jan 26, 2016

I'm using Rollbar with Rails 5 (currently 5.0.0.beta1.1) and I noticed this deprecation warnings. Just a reminder to fix those before upgrading to Rails 5.1.

DEPRECATION WARNING: alias_method_chain is deprecated. 
Please, use Module#prepend instead. 
From module, you can access the original method using super. 
(called from included at .../.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rollbar-2.7.1/lib/rollbar/middleware/rails/show_exceptions.rb:42)

Code:

 # lib/rollbar/middleware/rails/show_exceptions.rb:42
 base.send(:alias_method_chain, :call, :rollbar)
 base.send(:alias_method_chain, :render_exception, :rollbar)
@jondeandres
Copy link
Contributor

Hey @smolnar, thank you very much for the tip. I hope we can work soon on the Rails5 integration and full support, and we we'll take this into account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants