Fix for newer activesupport

I think.