On 6/6/07, Trevor Squires <[EMAIL PROTECTED]> wrote: > > I could be wrong but I seem to recall that you can't set view_paths on > a per-request basis (this may also be an old limitation that's been > changed/removed).
>From quick observation of controller code I think you can, but I can not imagine why would one do that. AC::Base#process is called on a per-request basis. It calls initialize_template_class, which instantiates a new ActionView::Base instance, passing it current view_paths as argument. If view_paths change, new requests should therefore pick it up. I may be also wrong, this was just a quick observation. But I still don't understand what the problem is, Gabe didn't explain it too well. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---
