class ActiveRecord upgraded