-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 alias_method_chain deprecated #2632
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi!
Testing Rails 5 with rails_admin and i got this message when running the app:
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from singleton class at /home/vagrant/.rvm/gems/ruby-2.2.5/bundler/gems/rails_admin-122cbf0b4fdd/lib/rails_admin/adapters/mongoid/extension.rb:14)
If i understood it correctly you have to move around the code to fix this deprecated message.
Would love if this could be fixed.
The text was updated successfully, but these errors were encountered: