allow activesupport > 3.0.0