It doesn't. Earlier I tracked down a PR that 7 months ago would have added the functionality to Rails, but was turned down because they didn't think it was a useful addition.