Fixed shadow_puppet for activesupport >= 4.0.0