[BUGFIX] Allow use of activesupport 3 or 4