Require active_support/core_ext and remove rails requirement