# Layout appears three times!

**URL:** <https://www.ruby-forum.com/t/layout-appears-three-times/127734>\
**Category:** Rails\
**Created:** [January 31, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/layout-appears-three-times/127734 "2008-01-31T20:21:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juanqui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@Juanqui](https://www.ruby-forum.com/u/Juanqui)\
**Post date:** [January 31, 2008, 8:21pm UTC](https://www.ruby-forum.com/t/layout-appears-three-times/127734/1 "2008-01-31T20:21:19Z")

</div>

Hey guys,

I am developing an application for my university and I’m having  
problems with the way it’s getting rendered. I configured the main  
controller to use a layout called “unet-main” and when it displays on  
my local machine it works great, but when I upload it to my dedicated  
server and try to view it the layout repeat itself three times  
downwards.

My dedicated server runs CentOS 5, I have the latest stable build of  
ruby installed, and the latest version of mongrel. All my gems are  
updated as well. One detail though is that I use nginx to route the  
web requests to three background mongrel servers. (Three,  
coincidence?). I also have the latest stable build of nginx.

What do you guys think could be wrong?  
Thanks for everything!

---

<div class="post-metadata">

**Author:** ![Juanqui](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ab992/32.png) [@Juanqui](https://www.ruby-forum.com/u/Juanqui)\
**Post date:** [February 1, 2008, 10:56pm UTC](https://www.ruby-forum.com/t/layout-appears-three-times/127734/2 "2008-02-01T22:56:44Z")

</div>

On 1/31/08, Juanqui [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> What do you guys think could be wrong?

No code = no idea.

–  
Greg D.  
[http://destiney.com/](http://destiney.com/)
