remove dependency on active support

This is the last refactor required to remove our dependency on Active Support.

Same spirit as #671