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
alias_method_chain
is deprecated
#193
Comments
Here's the first and the second Rails PRs that deprecated Deprecated by Rails 5.0.0, you can test it on the beta releases if need be. |
Thanks for opening this issue @connorshea I am aware that |
#213 Removes dependencies on alias_method_chain but does require that the version of ruby running supports prepend.. |
Version In the meantime if you just want to upgrade to Rails 5 you can just point to github in your Gemfile: - gem 'attr_encrypted', '3.0.1'
+ gem 'attr_encrypted', git: 'git://github.com/attr-encrypted/attr_encrypted.git' |
Any idea when a new version with the fix for this will be released? |
I'll try to push a new release tonight. I was trying to kill a few more low hanging fruit issues before I pushed a new release. |
Closed by #214 |
@saghaulor thanks! |
For those of you following this thread waiting for a gem push, I've hit a speed bump. The travis build for Rails 5 using Ruby 2.3 is failing. I need to investigate the failure. You're welcome to help. When I get the build passing I'll push the new gem version. |
Please see https://rubygems.org/gems/attr_encrypted/versions/3.0.2 for the new version. |
Thank you! |
I keep getting this deprecation warning with Ruby 2.3.0 and Rails 5:
Initially I thought this was an issue with devise_two_factor, but the line it refers to is
require 'attr_encrypted'
. Updating the gem to use attr_encrypted v2.0.0 doesn't fix this issue, unfortunately.alias_method_chain
is used throughout this file.Would it be possible to remove these from the gem? It's clogging up my terminal a bit :)
The text was updated successfully, but these errors were encountered: