Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6332393
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T18:15:20+00:00 2026-05-24T18:15:20+00:00

I am running Rails 3 on Ubuntu with PostgreSQL 8.4 and WEBrick. It has

  • 0

I am running Rails 3 on Ubuntu with PostgreSQL 8.4 and WEBrick.

It has been working fine, but when displaying a large table (hundreds of rows), something is going wrong. The browser shows that the page is still loading, but it looks like the result of the query is getting truncated or Rails is breaking. There are no errors in the log or console.

The 8th line below is malformed HTML. It occurs around the 140th row of the table. But it continues to display more rows after the ones below.

<tr class="from_hc"> 
  <td class="date_and_time">Jul 13, 2011 11:00 AM</td> 
  <td class="name">Kim Orange</td> 
  <td>PHYSICAL_ACTIVITY</td> 
  <td>text text</td> 
  <td>ok</td> 
  <td></td> 
  <td><a href="/messag/a></td>
</tr>
<tr class="from_hc"> 
  <td class="date_and_time">Jul 13, 2011 11:00 AM</td> 
  <td class="name">Tom White</td> 
  <td>PHYSICAL_ACTIVITY</td> 
  <td>text text</td> 
  <td>ok</td> 
  <td></td> 
  <td><a href="/messages/260/edit">Edit</a></td> 
</tr>

Is it a problem with the number of rows returned? Is there a config that needs to be set in Rails, PostgreSQL or WEBrick? Could it be an issue with SSL? What could cause this?

The same code and table works fine on Heroku, so I wonder if it is a WEBrick config issue…

I increased the “shared_memory” for Postgres, but it did not help.

Thanks!!!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T18:15:22+00:00Added an answer on May 24, 2026 at 6:15 pm

    It turns out that there was non UTF-8 (UTF-16?) characters in a few rows of the database. Specifically, those smart quotes, apostrophe and ellipsis that Microsoft Word creates. A user had cut and pasted from Word and into a web form.

    I wonder if there is a way to force UTF-8 in PostgreSQL to protect against this in the future…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an app running Rails 2.3.5 that has a JSON API for much
I am running Rails 3 Beta2 and attempting to get Autotest working with rspec.
I running a rails project and I am displaying a textfield that can often
I have a rails application which is running well in local (OsX, WEBrick). I've
I am running RubyMine 4 on Ubuntu 11.10, every thing is fine inside RubyMine,
I've been having problems getting Passenger up and running on my Ubuntu 10.04 box
I'm on Slicehost 256 plan running one single Rails app on Ubuntu Hardy 64
I have an Ubuntu 10.04 server running Apache with phusion passenger that I've been
We have a ruby on rails application running on an Ubuntu Sever. When I
I am learning rails by following the Rails Tutorial under Ubuntu. I have been

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.