must require active_support before core_ext.

solution found here: https://github.com/rails/rails/issues/14664