Jeff Barczewski
2007-Jan-12 18:19 UTC
[Masterview-users] If using Rails 1.2 or edge, and you have a view compile problem in your template, debug page is not shown, here is workaround until we get a fix
Well something in Rails 1.2/Rails edge changed and now if you get a template compile problem (ERB error) the debug output is not currently shown. This was working before, but something has changed. I will be working on a fix for this. In the meantime, you only get a blank screen if there is an error, which doesn''t help you at all figure out what the problem was. You can go into your config/masterview/settings.rb and set config.generate_rhtml_files = true This will have MasterView generate the rhtml files to the file system which will allow debugging to work properly. If you decide to switch back later then you will want to clean up the rhtml files that were generated. (I will try to make this a non-manual process in the future too). Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/masterview-users/attachments/20070112/ffde72ab/attachment.html