remove activesupport dependent code