This project is archived and is in readonly mode.
Custom Template Handlers and View Eager Loading
Reported by Lourens Naudé | July 23rd, 2008 @ 05:02 AM | in 2.x
Any template handlers installed as either plugins or gems register AFTER the views have been eager loaded, effectively serving them up as ERB later ...
Comments and changes to this ticket
-
josh July 23rd, 2008 @ 06:07 AM
- State changed from new to open
- Assigned user set to josh
Duh, I swear I committed that already.
-
josh July 23rd, 2008 @ 04:25 PM
- State changed from open to wontfix
Actually won't fix this. Plugins rely on views paths to be ready before they run.
ActionController::Base.view_paths << "plugin/views"
We need to work something out to eager load the view paths later or have the handler register reload these paths.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>