search for: dlug

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

Did you mean: dbug
2007 Oct 19
3
Stubbing a Kernel method?
Is it possible to stub a Kernel method? I''m specifically interested in the ''open'' method to test some code using open-uri. I''ve tried: Kernel.should_receive(:open).with(''filename'').and_return(''data'') However, this doesn''t seem to work. Any suggestions would be appreciated. --Paul
2003 Sep 21
2
Incoming phone line rollover / hunt?
...e number, but allow multiple incoming calls) Thanks in advance, Leif Madsen. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/bmJ86gq3eQ0gpNURApYRAKDViZhTUrygxcM3yqlPkdifK4jpuwCfeKVU wympd2pcbcUW1LA4HDeRLzY= =DLug -----END PGP SIGNATURE-----
2007 Sep 21
1
RESTful route gives a 500 error when Content-Type is set
I have encountered a problem with a RESTful route, I have the simple route; r.resources :people With a corresponding controller, when I tried to access it using ActiveResource I get a server error, I have tracked this down to a problem where if the header ''Content-Type: application/xml'' is sent it errors out: > curl -H ''Accept: */*''