Restrict to activesupport < 4.0