This works against a wider range of RoR 3.x targets