Simple patch, tiny, has tests, two more +1s wanted so I can move this to Verified http://dev.rubyonrails.org/ticket/7571