[CS] Allow activesupport 3.x or 4.x