# RHTML page not rendering properly

**URL:** <https://www.ruby-forum.com/t/rhtml-page-not-rendering-properly/70307>\
**Category:** Rails\
**Created:** [September 28, 2006, 3:09am UTC](https://www.ruby-forum.com/t/rhtml-page-not-rendering-properly/70307 "2006-09-28T03:09:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lakshan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@lakshan](https://www.ruby-forum.com/u/lakshan)\
**Post date:** [September 28, 2006, 3:09am UTC](https://www.ruby-forum.com/t/rhtml-page-not-rendering-properly/70307/1 "2006-09-28T03:09:38Z")

</div>

I’ve got a weired problem. I got a RHTML page which is not rendered  
properly in the browser all other pages in my app do renders correctly.  
Only this one page returns the page’s HTML with the following header

Content-Type: text/html  
Set-Cookie: \_session\_id=cb3c140fd4ef907c99ef203a053fba1a; path=/  
Status: 200 OK  
Cache-Control: no-cache

..................... ....................... .................. .........

What would cause this page not to rendered properly ? Any ideas ?

---

<div class="post-metadata">

**Author:** ![lakshan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@lakshan](https://www.ruby-forum.com/u/lakshan)\
**Post date:** [September 28, 2006, 3:40am UTC](https://www.ruby-forum.com/t/rhtml-page-not-rendering-properly/70307/2 "2006-09-28T03:40:33Z")

</div>

Controller contains receives params from the Request, Querying the  
database using these params and rendering the results.

For my amusement, this page renders perfectly in local web brick server  
the problem is only on Remote Host (which in this case is dream host)

---

<div class="post-metadata">

**Author:** ![lakshan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/ad7895/32.png) [@lakshan](https://www.ruby-forum.com/u/lakshan)\
**Post date:** [September 28, 2006, 3:22am UTC](https://www.ruby-forum.com/t/rhtml-page-not-rendering-properly/70307/3 "2006-09-28T03:22:32Z")

</div>

Hi –

On Thu, 28 Sep 2006, Lakshan Perera wrote:

> ..................... ....................... .................. .........
> 
> What would cause this page not to rendered properly ? Any ideas ?

What does your controller action look like for this view?

David

–  
David A. Black | removed\_email\_address@domain.invalid  
Author of “Ruby for Rails” [1] | Ruby/Rails training & consultancy [3]  
DABlog (DAB’s Weblog) [2] | Co-director, Ruby Central, Inc. [4]  
[1] [Ruby for Rails](http://www.manning.com/black) | [3] [http://www.rubypowerandlight.com](http://www.rubypowerandlight.com)  
[2] [http://dablog.rubypal.com](http://dablog.rubypal.com) | [4] [http://www.rubycentral.org](http://www.rubycentral.org)
