activesupport 4 compatibility