search for: find_base_path_for

Displaying 1 result from an estimated 1 matches for "find_base_path_for".

2007 Apr 05
5
Odd error handling in ActionView#compile_template causes WSOD
...a block with a missing ''end'' statement), I''m experiencing WSODs - the browser reports a lost network connection, rather than the helpful compilation error that we used to have. When the compilation fails, ActionView#compile_template raises this error : TemplateError.new(find_base_path_for(file_name || template), file_name || template, @assigns, template, e) ...which appears to have a few things wrong with it. First off, file_name is always absolute here - eg /Users/jon/ Developer/Stacker/app/views/kittens/index.rhtml. find_base_path_for is going to fail since it tries to append...