Fix activesupport deprecations

They came up when using with rails 2.3.14