Another Rails 3 fix.