Rails doesnt log tempalte errors in development mode -


my rails 3.2.9-app not show specific error information me on errors in templates! doesn't matter if use haml or erb, getting "we're sorry, went wrong". in fact, webrick is in development mode , if there errors in models or controllers, full ordinary error screen.

examples

example error in helper-template ("@resource" not exist, must "resource"):
-> lousy "we sorry, went wrong"
<% @resource.errors.full_messages.each |msg| %>

example error in 1 of controllers:
resposnd_to |format|
-> undefined method `resposnd_to' ...

anyone may me? :-(

i solved problem!! in all, searched more 1 year, now, got solution:

the problem use umlauts or blank spaces in path of rails project. if move rails project path without umlauts or blanks, error message should shown :-)!

tested on ubuntu-machine, maybe important bug. bug appears in rails 3.2.9, 3.2.13 , 3.2.14 definitely.

(consider_all_requests_local activated of course, never reason)


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -