Hi all
I am new to rails, so I hope it is not a trivial question...
I am using rails with webrick and MySql4.1 on win XP.
I enter a simple action (with a post method) which fetches some data from a
''users'' table and present it in a rhtml view.
Now when I press the refresh button quickly a few times I get in the command
line window errors such as this:
[2005-08-25 17:08:55] ERROR Errno::EINVAL: Invalid argument
c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `write''
c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in `<<''
c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:324:in
`_write_data''
c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:180:in
`send_header''
c:/ruby/lib/ruby/1.8/webrick/httpresponse.rb:103:in
`send_response''
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:79:in `run''
c:/ruby/lib/ruby/1.8/webrick/server.rb:155:in `start_thread''
c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start''
c:/ruby/lib/ruby/1.8/webrick/server.rb:144:in `start_thread''
c:/ruby/lib/ruby/1.8/webrick/server.rb:94:in `start''
c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `each''
c:/ruby/lib/ruby/1.8/webrick/server.rb:89:in `start''
c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start''
c:/ruby/lib/ruby/1.8/webrick/server.rb:79:in `start''
c:/ruby/lib/ruby/gems/1.8/gems/rails-0.13.1/lib/webrick_server.rb:57:in
`dispatch''
script/server:48
If I try to be even crueler and I open two windows (belonging to the same
session - by selecting file->new window in the explorer), and I press the
refresh buttons back and forth a few times in both windows, the application
crashes completely with various error messages such as
NameError in <controller not set>#<action not set>
uninitialized constant Operation
....
(shown in the browser window)
I have the native Mysql driver installed now, before that when I did the same
trick using the ruby MySQL driver I also got a "packets out of order"
error messages.
Please explain.....
Thanks
Nadav
---------------------------------
Start your day with Yahoo! - make it your home page
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails