search for: porterfield

Displaying 3 results from an estimated 3 matches for "porterfield".

Did you mean: orderfield
2010 Nov 08
7
Webrick Failing with Illegal Instruction
I''ve just started a new rails project (3.0.1, ruby 1.9.2 on Mac OS X), and have a few parts of it built out. I''ve just created new controller/views using rails g scaffold_controller Lesson, and then added a route to routes.rb with "resources :lessons" Now, when i go to /lessons, Webrick fails with "Illegal instruction" The controller function getting hit is
2009 Jul 16
1
ActiveResource timeout not functioning?
I''m trying to contact a REST API using ActiveResource on Rails 2.3.2. I''m attempting to use the timeout functionality so that if the resource I''m contacting is down I can fail quickly - I''m doing this with the following: class WorkspaceResource < ActiveResource::Base self.timeout = 5 self.site = "http://mysite.com/restAPI" end However, when I
2009 Jul 24
1
Modifying ActiveResource classes
I''ve been struggling with an issue with ActiveResource for a bit now: when a hostname resolves for an ActiveResource request, but there''s no server on the other end to return information, ActiveResource''s timeout value doesn''t work. The request just hangs. After reviewing the ActiveResource code, I''ve realized that this is because the underlying