similar to: PUT (and friends) bug?

Displaying 20 results from an estimated 5000 matches similar to: "PUT (and friends) bug?"

2007 Apr 18
10
customizing global request handler
what is the cleanest way to do something for every request of a particular type (Verb, and Content-Type header)? i''m trying to figure out if shipping a custom camping.rb is avoidable, and if, how i should structure a patch my app http://whats-your.name/yard/ uses exclusively JSON based messaging between server and client. this means POST bodies are JSON, and not querystring.. camping
2007 Jun 22
3
Simulate HTTP put and delete in Camping/SleepingBag
Hello, I''m not yet a camping guru nor a RESTafarian, but I try. Currently I''m trying to build a rest-style web app with sleeping bag/camping and I may successfully access the index, show, new, create and edit methods, that are provided with sleeping bag. But I don''t know, how to build a form or link to access destroy and update. I think this is mainly because of the
2005 Sep 08
11
Stopping services
I''m back to getting stuff to run as a Windows service, and am running in to a problem. My service (a Daemon ruby class) installs and starts fine, but when I try to stop it, I get: C:\workspaces\default\tahoe>ruby script\service stop script/service:77:in `stop'': An exception occurred in the service when handling the control request. (Win32::ServiceError) from
2005 Mar 01
5
Open3.popen3 bug
Running this program: require ''win32/open3'' i, o, e, pid = Open3.popen3("c:/ruby/bin/ruby.exe -e\"sleep 10\"") i.close Gives this result: C:\_co\source\build\web\temp>ruby t.rb t.rb:5: [BUG] Segmentation fault ruby 1.8.2 (2004-06-29) [i386-mswin32] This application has requested the Runtime to terminate it in an unusual way. Please
2006 Apr 03
4
Stop words in queries
I''ve run in to an issue that I''m not sure how to address. Basically, I''m building queries with occur_default Search::BooleanClause::Occur::MUST, and using the StandardAnalyzer which does stop filtering. The stop filtering is working beautifully on the indexing side. The problem is that when the query parser parses through a query with a stop word in it, say
2007 Oct 23
4
Weird application/x-www-form-urlencoded bug
Hello, I experienced a weird bug today, while implementing an AtomPub server. I pasted all the story and bug details here : http://p.caboo.se/110125 It maybe be related to http://code.whytheluckystiff.net/camping/ticket/142 ... I am using - mongrel 1.0.1 - camping 1.5 Cheers, -- Simon Rozet <simon at rozet.name>
2007 Apr 23
6
[CruiseControl] RubyOnRails build 6553 failed
The build failed. See http://cruisecontrolrb.thoughtworks.com/builds/RubyOnRails/6553 for details. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to
2005 Sep 11
4
[RFC] The Early Demise of Myriad (Thanks To Ruby Threads)
Hi Everyone, I figured out this weekend that Ruby''s Thread implementation causes the Ruby/Event binding I wrote to completely stall and go dead. After reviewing the Ruby source and watching several strace runs, it''s clear that the Ruby Thread implementation uses select in a way that--while not being bad--just isn''t compatible with libevent. The second a thread is
2005 Mar 15
6
New Beta version of Rake for Rails Users ... Fix for Ruby 1.8.2 unit test bug
I have a new version of Rake that I''m (almost) ready to release. But before I make an official release, I would like some Rails folk to give it it try ... Why? Because it contains a workaround for the notorious Ruby 1.8.2 test/unit bug. Using this version of rails, it should be possible to unit test a rails app without patching the Ruby 1.8.2 test/unit library. Where to get it?
2005 Mar 01
2
Open3.popen3 oddity
Open3.popen3 returns the pid as well as the in, out, and err streams. I thought only the streams were supposed to be returned. Thanks -- Nathaniel <:((><
2005 Mar 16
1
Problem with win32-service
It compiles fine, but when the resulting library is required, it says: C:\_co\source\build\ruby\extensions\win32-service-0.4.5\test>ruby tc_daemon.rb C:/_co/source/build/ruby/extensions/win32-service-0.4.5/win32/service.so: `interactive?'' is not proper name for a struct member (NameError) from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
2005 Feb 28
1
Bug in win32-service
I found a small (easily worked around) bug in service.c. The accessor for the start user is called "start_name", but create_service tries to access "@service_start_name". A simple "service.instance_eval{@service_start_name = ''name''} works around it, but I thought ya''ll might want to fix it. BTW, thanks for win32-utils... I don''t like
2007 Oct 08
0
Camping-list Digest, Vol 18, Issue 1
UNSUBSCRIBE On Oct 5, 2007, at 1:27 PM, camping-list-request at rubyforge.org wrote: > Send Camping-list mailing list submissions to > camping-list at rubyforge.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://rubyforge.org/mailman/listinfo/camping-list > or, via email, send a message with subject or body ''help'' to >
2008 May 08
1
query strings built by R method can''t handle multiple values from checkbox selections
query strings built by R method can''t handle multiple values from checkbox selections R(SomeRoute, :reply_status=>%w{1 2 4}) should return query_string=" http://localhost:3301/someroute/?reply_status_id=1&reply_status_id=2&reply_status_id=4 " qsp(query_string) -> {"reply_status_id"=>["1", "2", "4"]} from
2008 May 21
32
Rack, Camping 2.0++
=== 1. Camping on Rack === I''ve just finished rewriting Camping to use Rack in the "core". I got rid of (a little less) than 1kB in camping.rb and removed lots of un-necessary files (lib/server/*.rb, fastcgi.rb & mongrel.rb). bin/camping does now only provide WEBrick, Mongrel and console-support and should only be used in development. It uses Rack::ShowExceptions to catch
2004 Jan 15
10
Wx::ListCtrl#get_item method
Hi guys! I have a question (or a request?) on Wx::ListCtrl#get_item method. As you can see in the wxWindows reference, wxListCtrl::GetItem method of C++ is different from that of wxPython. C++ return value: boolean argument: wxListItem& info wxPython return value: wxListItem arguments: int ID, int column (optional) How about wxruby? >From the wxruby source code, wxruby looks
2006 Mar 22
12
RJS page.replace(_html) problems
For some time now I try to get my code working. This Monday I switched to RJS (first with 1.0 + plugin) and yesterday to Edge Rails, so I guess I''ve been using the most recent version. I have a div with id="detail" which I want to update with a partial. If I''m using page.replace_html the content will be replaced with text, i.e. the javascript won''t become
2007 Jul 07
0
[patch] no crumbs
in the spirit of minimal-impact ''leave no trace'' principles, this patch adds a missing feature, the ability to remove cookies. usage: @cookies.redbean = nil a side note, the trunk seems to be broken when using Markaby. i''ve tested this out using ngrep and firefox and opera w/ controllers that just return strings in any case.. -------------- next part --------------
2006 Jul 10
4
Test Mongrel 0.3.13.4 Please
Hey Folks, There''s a nasty little bug in 0.3.13.3 when running in development mode which could cause all sorts of problems. Please grab the pre-release of 0.3.13.4 and tell me if it works for you: gem install mongrel --source=http://mongrel.rubyforge.org/releases/ Thanks! -- Zed A. Shaw http://www.zedshaw.com/ http://mongrel.rubyforge.org/ http://www.railsmachine.com/ -- Need
2007 Apr 20
2
Partitioning around mediods (PAM)
Hi, I need some help understanding the output from PAM. When I look at the output it doesn't list the cluster number by the median vlaues on each of the variables (like it does with k-means) Instead I have the following: So I know for instance cluster 1 has a mean for variable1 of 33.33, however when I run PAM i get: variable 1 variable2 29 32 12 97 12