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 alias_method_chain deprecated #2632

Closed
confact opened this issue May 12, 2016 · 5 comments
Closed

Rails 5 alias_method_chain deprecated #2632

confact opened this issue May 12, 2016 · 5 comments

Comments

@confact
Copy link

confact commented May 12, 2016

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.

@nazarok
Copy link

nazarok commented Dec 9, 2016

+1

1 similar comment
@alexfarrill
Copy link

+1

@h8rry
Copy link

h8rry commented Feb 24, 2017

Any feedback on this? Still getting this.

@PikachuEXE
Copy link
Contributor

MongoID already fixed this a year ago

@PikachuEXE
Copy link
Contributor

#2864 opened

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

5 participants