Add Util support to newer Rails versions

Related to discussions in #996. As there's no change to API or functionality, will be merging on green.