[jQuery] Re: ajax post to ruby script

2008-09-25 Thread BB
I can't see any problems with that script. What do you think is wrong with it? On 25 Sep., 06:02, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello! > > Sorry for the n00b post, but i've come to a dead end. I'm trying to > write an ajax callback to a Ruby script that does a simple database

[jQuery] Re: ajax post to ruby script

2008-09-25 Thread [EMAIL PROTECTED]
The alert just shows the contents of the Ruby script. I've updated the script to be just: #!/usr/local/bin/ruby unless ARGV.length > 0 puts "you must provide a valid value" exit end return ARGV[0] but that is all that is returned. It returns the script contents instead of the