I just ran into a situation that threw me; I had a syntax error in my controller file which stopped it from being loaded, but instead of throwing an error immediately and refusing to continue (as I would have expected), I got an error about not being able to find the controller class later, when my tests attempted to use the controller.
I would think that it would be better to throw an error and die on startup, since a syntax error in a controller is _never_ good, and if the error doesn't show up until you access the page, you've potentially lost the information as to what the actual problem was, if you've rolled your logfile (e.g., a controller which is rarely used, perhaps once a month). Is there a reason for continuing after a syntax error in a controller (or model, for that matter)? 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 -~----------~----~----~----~------~----~------~--~---
