Add fallback support for activesupport 2