Stephen Eley <[email protected]> writes:

> On Wed, Feb 4, 2009 at 4:04 PM, Shalon Wood <[email protected]> wrote:
>>
>> Personally, I think Merb shouldn't start at all if there are syntax
>> errors in the controllers, but I guess I can see the point of view of
>> the people who complained about it.
>
> That would require loading every bit of code in the app at startup,
> instead of when it's needed.  Slower init time and maximal memory use
> before a single request is served.  Is the problem worth that?

Merb is already loading the controllers, because that's when it logged
the syntax error. If the file wasn't loaded until something tried to use
the controller, it wouldn't be an issue because the error message would
be logged at that point.

Shalon Wood

--~--~---------~--~----~------------~-------~--~----~
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