Hi,
I''m having a strange problem.
I have a "Forgot my password" page that works fine. When I added a
template
for my login controller, the webbrick server hangs up. Even though there is
little to none scripting within the layout template.
The page still works fine with render(:layout => false)
If I remove the <%= @content_for_layout %> from the template, it also
works.
They just seem not to work too well together. The server starts rendering
the page and then hangs.. I must kill and restart the server after this.
127.0.0.1 - - [26/Jul/2005:15:58:41 Hora oficial do Brasil] "GET
/login/login HT
TP/1.1" 200 2212
http://localhost:3000/login/forgot_password -> /login/login
[2005-07-26 15:58:42] ERROR Errno::EINVAL: Invalid argument
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `gets''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `__send__''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:325:in `_read_data''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:324:in `timeout''
c:/ruby/lib/ruby/1.8/timeout.rb:55:in `timeout''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:324:in `_read_data''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:335:in `read_line''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:225:in
`read_request_line''
c:/ruby/lib/ruby/1.8/webrick/httprequest.rb:86:in `parse''
c:/ruby/lib/ruby/1.8/webrick/httpserver.rb:56: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:49
Any insight is welcome. I''m running under windows, which seems a bit
buggy
for rails development.
Thanks,
Alessandro
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails