You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is my first time using Github / commenting on a project, so forgive me if I've made a mistake, but while upgrading my Rails 4.2 app to Rails 5, I've encountered a depreciation warning related to activerecord-import's use of alias_method_chain found in lib > activerecord-import.rb.
As detailed here in Riding on Rails, and here in this Rails pull request 19434, alias_method_chain has been depreciated in favor of Module.prepend. I've looked into offering up a fix using Module.prepend, but I'm afraid I'm just not knowledgeable enough in Ruby.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this @thefliik. I've known about this for a while, but I've ignored it since alias_method_chain is so much more readable than trying to follow Module#prepend.
This is my first time using Github / commenting on a project, so forgive me if I've made a mistake, but while upgrading my Rails 4.2 app to Rails 5, I've encountered a depreciation warning related to activerecord-import's use of
alias_method_chain
found in lib > activerecord-import.rb.As detailed here in Riding on Rails, and here in this Rails pull request 19434,
alias_method_chain
has been depreciated in favor of Module.prepend. I've looked into offering up a fix using Module.prepend, but I'm afraid I'm just not knowledgeable enough in Ruby.The text was updated successfully, but these errors were encountered: