Also, Merb has load_template_io, which allows you to hook into its template
lookup and provide a virtual file for any path. At the moment, it doesn't
support separate reloading for virtual files, but that's easy to add.
-- Yehuda

On Sun, Jan 18, 2009 at 6:49 AM, Michael Klishin <
[email protected]> wrote:

>
>
> On 18.01.2009, at 10:31, Gaspard Bucher wrote:
>
> > 1. I must have access to the method name builder
> > ( Merb::Template.template_for )
> > 2. I need to remove the path from Merb::Template::METHOD_LIST when the
> > template is edited
> >
> > All this is fine except for (2): how can I make sure that the path is
> > removed from *ALL* instances of the merb application ? Shared memory ?
>
>
> You can use any way you like to get a body string in the app, since
> Merb has no auto rendering and
> assumes actions just return strings/IOs. render returns a string,
> display returns a string. You have to implement
> something that works for you and just returns a string, no need to tie
> it to boot time template compilation.
>
> MK
>
>
> >
>


-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to