Simon Strandgaard
10/13/2003 6:31:00 PM
On Tue, 14 Oct 2003 02:45:51 +0900, Julien VIVENOT wrote:
[snip]
> class Rbma_query
> def initialize(requete)
> @requete=requete
> @resultat=Array.new
> end
[snip]
> end
>
> query1=Rbma_query.new
What happens if you initialize the Rbma_query class with an argument ?
Perhaps:
query1=Rbma_query.new("test")
> query1.requete="select all from here;"
> query1.exec
> print query1.escape_pretty_html
> in /usr/local/apache2/logs/error_log you can see that mod_ruby say you that
> 'requete=' is an undefined method !?!?!?!?!?!?!
Can you show us some lines from the log file ?
> Julien Vivenot, a french sixteen-year-old _bad_ developer
> (Excuse me for my poor english)
There is nothing wrong with your english.
--
Simon Strandgaard