I am updating my application from rails 4 to rails 5. My application is using activeuuid gem. The activeuuid gem is using alias_method_chain internally and this method is deprecated in rails 5. Now when I am trying to start rails console, I am getting error -
undefined method `alias_method_chain' for ActiveRecord::ConnectionAdapters::Column:Class (NoMethodError)
Is there anyway I can continue using activeuuid gem in rails 5 and does not need to do any rework?
Try just delete this gem from your project and all must be fine.
Source: https://github.com/jashmenn/activeuuid/issues/80
However if you want to keep using this gem you can find (or create your own) fork. Last commit to original gem was 4 years ago (before rails 5 release). But I see forks where support for rails 5 was realized.