# Strange problem with table displayed

**URL:** <https://www.ruby-forum.com/t/strange-problem-with-table-displayed/56830>\
**Category:** Rails\
**Created:** [April 4, 2006, 6:03pm UTC](https://www.ruby-forum.com/t/strange-problem-with-table-displayed/56830 "2006-04-04T18:03:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![emily101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@emily101](https://www.ruby-forum.com/u/emily101)\
**Post date:** [April 4, 2006, 6:03pm UTC](https://www.ruby-forum.com/t/strange-problem-with-table-displayed/56830/1 "2006-04-04T18:03:31Z")

</div>

Hi I have a strange problem maybe someone have similar experience?

I have a simple ruby program that grabs some datat from database and  
displays it in browser. It displays a column of number and gives a  
total at the bottom.

For some reason when viewing the page in browser it cuts off about have  
the table and gives no total. And even some of the data in the table is  
wrong like instead of giving the date in one of the columns it will list  
another value like price.

The really strange thing is if i walk up to the server itself and use  
its browser there is no problem everything is perfect. But if i go to  
anyother machine in office and call up the same page it cuts off the  
table in exactly the same spot on all the computers.???

Any one have a clue what might be going on.

p.s. I have tried turning off FCGI and such but same result.

---

<div class="post-metadata">

**Author:** ![emily101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@emily101](https://www.ruby-forum.com/u/emily101)\
**Post date:** [April 5, 2006, 6:33pm UTC](https://www.ruby-forum.com/t/strange-problem-with-table-displayed/56830/2 "2006-04-05T18:33:47Z")

</div>

really strange…thought maybe something with the firewall but no luck  
still.

can anyone think of a reason why it would do this?

again when table is displayed in browser on machine it cuts off about  
half the table and is not complete. But if I go tot he server itself  
and bring up page the table is displayed complete.

please any suggestions or help much appreciated.

I am using rails with apache2 on Mac OS X Server 10.4.6

I have FCGI working and such. I have other simple hello world apps up  
and running just fine. Its this ruby app a little more involed that  
quires a little bit of data from oracle and displays it in a table in  
browser. No calculations are done except at the bottom for a grand  
total.

thanks,

---

<div class="post-metadata">

**Author:** ![emily101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@emily101](https://www.ruby-forum.com/u/emily101)\
**Post date:** [April 5, 2006, 7:04pm UTC](https://www.ruby-forum.com/t/strange-problem-with-table-displayed/56830/3 "2006-04-05T19:04:44Z")

</div>

On Wed, 2006-04-05 at 18:33 +0200, emily amherst wrote:

> I am using rails with apache2 on Mac OS X Server 10.4.6
> 
> I have FCGI working and such. I have other simple hello world apps up  
> and running just fine. Its this ruby app a little more involed that  
> quires a little bit of data from oracle and displays it in a table in  
> browser. No calculations are done except at the bottom for a grand  
> total.

* * *

not clear what is differences between ‘browser on machine’ and ‘server  
itself’

Running rails on local machine or on server? Running web browser on  
local machine or on server? Running db on local machine or server?  
Running all on local machine or server?

Craig

---

<div class="post-metadata">

**Author:** ![emily101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@emily101](https://www.ruby-forum.com/u/emily101)\
**Post date:** [April 5, 2006, 8:18pm UTC](https://www.ruby-forum.com/t/strange-problem-with-table-displayed/56830/4 "2006-04-05T20:18:54Z")

</div>

Craig W. wrote:

> On Wed, 2006-04-05 at 18:33 +0200, emily amherst wrote:
> 
> > I am using rails with apache2 on Mac OS X Server 10.4.6
> > 
> > I have FCGI working and such. I have other simple hello world apps up  
> > and running just fine. Its this ruby app a little more involed that  
> > quires a little bit of data from oracle and displays it in a table in  
> > browser. No calculations are done except at the bottom for a grand  
> > total.
> 
> * * *
> 
> not clear what is differences between ‘browser on machine’ and ‘server  
> itself’

thanks for reply. The application runs on Mac OS X Server along with  
FCGI, Rails and such…everything runs on the Mac Server. And it all  
works on the Server perfect. Except for the Oracle database which sets  
on another machine.

I am saying that when attempting to access the application from another  
machine a users machine in the office through there browser, Firefox,  
IE, Safari, Opera they get back in there browser a cut off table  
displayed, but if I go to the actuall server itself that is servering up  
this app and access the app from its own browser in this case safari. I  
get the whole table with total at bottom no problems.

In addition when I do attempt to access the app from users machines in  
the office there machines browser alway every time shows the table cut  
off in exaclty the same place on ever machine i try it on.

> Running rails on local machine or on server? Running web browser on  
> local machine or on server? Running db on local machine or server?  
> Running all on local machine or server?
> 
> Craig

---

<div class="post-metadata">

**Author:** ![emily101](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ecae2f/32.png) [@emily101](https://www.ruby-forum.com/u/emily101)\
**Post date:** [April 5, 2006, 8:48pm UTC](https://www.ruby-forum.com/t/strange-problem-with-table-displayed/56830/5 "2006-04-05T20:48:36Z")

</div>

On Wed, 2006-04-05 at 20:18 +0200, emily amherst wrote:

> > * * *
> 
> IE, Safari, Opera they get back in there browser a cut off table  
> displayed, but if I go to the actuall server itself that is servering up  
> this app and access the app from its own browser in this case safari. I  
> get the whole table with total at bottom no problems.
> 
> In addition when I do attempt to access the app from users machines in  
> the office there machines browser alway every time shows the table cut  
> off in exaclty the same place on ever machine i try it on.

* * *

OK - I am gathering that the only difference/variable in the equation is  
the machine on which you are using a web browser but in both instances,  
the rails/apache w/fcgi is running on the Mac OSX Serve system.

In that case, the issue has to be a cache. Try ‘shift’ ‘refresh’ (hold  
the shift key while clicking on the ‘refresh/reload’ button.

If that doesn’t solve it (and I would be surprised), it is still  
possible that the data is cached on the server and restarting apache on  
the server will clearly reset the cache but I also like to clear out  
(remove) any sessions that exist at the same time to eliminate the  
variables.

Note that server caching shouldn’t occur in ‘development’ mode.

Craig
