rails/rails — pull request #15317 by andriytyurnikov (2014-05-25 16:24:10+00:00)
Title: now rake stats is both - engine friendly and backwards compatible

While changes in #15299 were clear, 3rd party tools are dependent on current global constant, according to #15308

This solution will produce warnings in context of rails engine

Consider merging this/reverting #15299/providing your solution