# Error page replaced with http 500 as of edge 5208?

**URL:** <https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630>\
**Category:** Rails\
**Created:** [October 1, 2006, 4:13am UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630 "2006-10-01T04:13:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![adammontgomery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Post date:** [October 1, 2006, 4:13am UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630/1 "2006-10-01T04:13:51Z")

</div>

Has the development error screen been removed?

When using 5206 and getting an applicaiton errror i get the nicely  
formatted view of the error in the browser.

Now, as of 5208 i get ‘cant display page’ http 500 and the error streams  
in the console ?  
How do i get my nice error screen ???

---

<div class="post-metadata">

**Author:** ![adammontgomery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Post date:** [October 1, 2006, 4:21am UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630/2 "2006-10-01T04:21:33Z")

</div>

> Now, as of 5208 i get ‘cant display page’ http 500 and the error streams  
> in the console ?  
> How do i get my nice error screen ???

small mistype above. I am having to use tail to watch for error details.  
They dont appear in the console.

---

<div class="post-metadata">

**Author:** ![adammontgomery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Post date:** [October 1, 2006, 11:42am UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630/3 "2006-10-01T11:42:32Z")

</div>

I had a similar problem with 5212 - there appears to be some problem  
with  
the following file. Or it could be something intentional going on that  
I’m  
just not bright enough to figure out.

On line #44 of  
vendor/rails/actionpack/lib/action\_controller/templates/rescues/\_request\_and\_response.rhtml

```
41:
42:
43: <h2 style="margin-top: 30px">Response</h2>
44: <b>Headers</b>: <%=h response.headers.inspect.gsub(/,/, ",\n")

```

%\>

I was able to do a temporary hack to get my error screens back by  
changing  
line 44 to the following:

**Headers** : \<%=h response.headers.inspect.gsub(/,/, “,\n”) if  
response  
and response.headers %\>

Hope this helps.

Chris

---

<div class="post-metadata">

**Author:** ![adammontgomery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Post date:** [October 1, 2006, 12:51pm UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630/4 "2006-10-01T12:51:42Z")

</div>

thanks! ill try that out. Might get me of 5206 =)

---

<div class="post-metadata">

**Author:** ![adammontgomery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Post date:** [October 2, 2006, 5:17pm UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630/5 "2006-10-02T17:17:16Z")

</div>

I’ve had this problem as well–when headers is nil, it blows up.

Have either of you reported this on Trac?

Jamie

---

<div class="post-metadata">

**Author:** ![adammontgomery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Post date:** [October 2, 2006, 6:21pm UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630/6 "2006-10-02T18:21:25Z")

</div>

Just reported along with a patch - #6329

-Chris

---

<div class="post-metadata">

**Author:** ![adammontgomery](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ce7236/32.png) [@adammontgomery](https://www.ruby-forum.com/u/adammontgomery)\
**Post date:** [October 9, 2006, 2:36am UTC](https://www.ruby-forum.com/t/error-page-replaced-with-http-500-as-of-edge-5208/70630/7 "2006-10-09T02:36:41Z")

</div>

Just an update that the patch was accepted as of 5241, so this should no  
longer be a problem.

[http://dev.rubyonrails.org/changeset/5241](http://dev.rubyonrails.org/changeset/5241)

-Chris
