Did you run rake rails:update or similar. I think it'll find a bunch of stuff like this and fix it.