ugly hack to support activesupport 4.0

hopefully removed later
v0.5.6