This patch allows view_paths to be set on a per-request basis. Previously this would not work because ActionView had it's own copy of the view_paths which was set early in the request cycle, and thus any user attempts (such as in a before_filter) to edit the path would break.
My use case for this is to allow different domains to use the same application but override any templates as necessary. I will be releasing a plugin that does that shortly. Previously I had used theme_support and hacked it up a bit to support this use case. However, with this patch, the new plugin is extremely elegant and simple. This may not be a type of application the Rails team has explored, but opens up a whole new realm of possibility for heavily customized applications without the conceptual overhead of setting up Liquid templates or a similar solution.
I have created separate test and fix patches.