Search the web
Sign In
New User? Sign Up
RubyOnRails · Ruby on Rails
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
All subsequent WEBrick calls don't match first call   Message List  
Reply | Forward Message #31 of 107 |
Hi Everyone,

Joe Noobie here trying to do the absolute basic example in Agile Web
Development with Rails Chapt 6.

WEBrick seems to resond to the first request with one set of HTTP
numbers and all subsequent calls got a different set of HTTP numbers:

In more detail:

First browser call to /Admin shows correct form; - And WEBrick
reports:

"Get /admin HTTP/1.1" 200 485 - -> /admin

Subsequent browser calls to /Admin show:
NoMethodError in AdminController#index
undefined method `each' for #<Mysql:0x37aba80>

- And WEBrick reports:

"Get /admin HTTP/1.1" 500 10767 - -> /admin


First browser call to /Admin/new shows correct form for editing; -
And WEBrick reports:

"Get /admin/new HTTP/1.1" 200 10767 - -> /admin/new

Subsequent browswer calls to /Admin/new show:
NoMethodError in AdminController#new
undefined method `each' for #<Mysql:0x376d7e8>
RAILS_ROOT: ./script/../config/..

- And WEBrick reports:

"Get /admin/new HTTP/1.1" 500 9798 - -> /admin/new

So the first calls produce a "Get...200..." and the right browser
results.
Subsequent calls produce a "Get...500..." and "NoMethodError"

Thanks for your help,

Joe Noobie










Thu Aug 24, 2006 11:59 pm

huntingforwi...
Offline Offline
Send Email Send Email

Forward
Message #31 of 107 |
Expand Messages Author Sort by Date

Hi Everyone, Joe Noobie here trying to do the absolute basic example in Agile Web Development with Rails Chapt 6. WEBrick seems to resond to the first request...
huntingforwisdom
huntingforwi...
Offline Send Email
Aug 25, 2006
1:01 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help