On Mon, 23 Aug 2004, David A. Black wrote: > Hi -- > > On Mon, 23 Aug 2004 nobu.nokada / softhome.net wrote: > > > Hi, > > > > At Mon, 23 Aug 2004 00:59:15 +0900, > > David A. Black wrote in [ruby-core:03293]: > > > The error messages look like this (minus dates and IP addresses): > > > > > > Premature end of script headers: submitrcr.rb > > > (eval):3:in `__send__': undefined method `downcase' > > > for nil:NilClass (NoMethodError) > > > from (eval):3:in `gsub!' > > > from /usr/local/lib/httpd/htdocs/rcrchive/utils.rb:85:in `initialize', > > > > > > I don't understand the __send__, or the eval, neither of which are in > > > my code. > > > > How is that @text obtained? It feels a delegator or similar. > > It's just a string, I think. Its history is: > > CGI input => saved as a field in an RCR object => > filtered through "Cleaner" object > > @text is just an i.v. inside the Cleaner (and there's a #text reader > method for it). Actually.... as Gabriele Renzi pointed out on IRC, it may be a CGI::QueryExtension::Value object, which I think is a delegator. I'll try to do more testing. David -- David A. Black dblack / wobblini.net