fix active_support/basic_object deprecation warning