Textarea with large data, bug?

Hi,

I have a problem with a simple form having a textarea and few buttons,
radio boxes…
When I feed my textarea with a lot of text (about > 200 lines), it fails
lamentably, otherwise it works fine.

Here the params array, as given by the exceptions caught on action
controller:

Parameters: {“demi_choix_1”=>“55”, “demi_choix_2”=>“59”,
“demi_choix_3”=>"-1dangerous to public […] disturbances.", “human
[…] disturbances.”=>""}

“demi_choix_3” should be an integer, it loses many of original form
attributes, and has an attribute whose key is a section of the original
textarea text with a value of “”.

my template looks like this:

<%= form_tag :action => ‘generate_doc’, :id => @concours, :is_email =>
@is_email %>
<%= text_area ‘document’, ‘content’, :cols => ‘90’ %>

[…]
<%= end_form_tag %>

This may be a bug, or maybe i missed a configuration option, or
something else. I’m running the latest rails version (0.14.3) on debian
sarge, under fcgi, with ruby 1.8.2.
Has someone an idea ? Many thanks !

make sure its not your servers post limit

most are capped off at 256kb of data
iirc

----- Original Message -----
From: “olivier victor” [email protected]
To: [email protected]
Sent: Monday, November 14, 2005 10:40 AM
Subject: [Rails] textarea with large data, bug ?

dr.frog wrote:

make sure its not your servers post limit

most are capped off at 256kb of data
iirc

I don’t think it was, to be sure I put:
LimitRequestBody 0
in my apache2 config file.

I tried using Webrick, and it worked fine… There is probably some
problems related to my apache and fcgi configuration, I’ll check for
that later.

Thank for your answer.