allow activesupport 3.2.11 and later