Load active_support/core_ext in the proper way by requiring active_support first (as per docs: http://edgeguides.rubyonrails.org/active_support_core_extensions.html)