Displaying 20 results from an estimated 2000 matches similar to: "Binary PUT requests are failing"
2006 Jan 14
1
BUG: HTTP body content get parsed in PUT call
I''m developing a Rail application to accept data upload using HTTP PUT
call. Support for PUT in Rails seems to be broken in query params
parsing. I have a patch to fix the problem, but I''m not sure if it is
the "right" solution. Can some Rails developers take a quick look? I
can really use some help. :-)
Here is the evident of broken param parsing.
Processing
2006 Jun 21
7
sortable tree problem
Hello,
I''m having a problem when I set the tree option to true on Sortable.
If I set the option to false my remote call works fine, but once I set
it to true, I get some weird log errors from Webrick...
undefined method `update'' for "11":String
/usr/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/cgi_ext/cgi_methods.rb:214:in
`build_deep_hash''
2006 Apr 17
3
help debugging an error
Hi, I''ve started getting an error I can''t debug. The error doesn''t generate
anything in my development log. A breakpoint set right at the beggining of
the controller method does not get triggered. It happens on a form
submission. I can make changes to the object model from with the console,
but not on this form submission. I thought maybe it was routing, because I
have
2007 Dec 03
3
Request param type of array
Hello.
I have tested such form:
<form method=''POST''>
<input type=''hidden'' name=''myfield'' value=''value1''>
<input type=''hidden'' name=''myfield'' value=''value2''>
<input type=''submit'' name=''_submit''
2006 Jul 27
2
more on file upload
well, so File upload seems to be only working under mongrel.
I have not tried it, but Camping crash extracting the request parameters on
both CGI and FastCGI.
I''m looking at rails code for inspiration, but it''s a bit outside of my
knowledge.....
not sure what to do with a FCGI::Stream object .....
this is what rails do for CGI, I''m not sure if it works the same for
2006 Jul 31
3
Problem in posting xml content.
When I post the XML data as the message content to my rails website, I
can see the exception info in the log file. The error message is "can''t
typecast" the element name in my xml document.
The first line in backtrace is:
"c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.3/lib/action_controller/cgi_ext/cgi_methods.rb:111:in`typecast_xml_value''"
Please give
2006 Mar 06
2
form_tag error -- not found, 404 -- action DOES exist!
Hi -- I''ve got a very strange error.
I have an action called ''commit_input'' on a controller called
''SiteVisitController''. This definately exists, and is called from the
functional test for it, and passes fine.
My problem is with the form that is supposed to call this action.
The form tag is:
<%=
2006 Apr 14
1
rake test errors
I have Rails 1.1.2, ruby 1.8.4 and gentoo linux running kernel 2.6.15.
Here are the errors:
gregg@gregg2 ~/user/DMS $ rake test
(in /home/gregg/user/DMS)
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:2: warning: method redefined; discarding old []=
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/
ordered_options.rb:11: warning: method
2006 Sep 22
3
Mongrel spinning on read_multipart
On Zed''s suggestion, I caught two new spinning mongrels and sent a
SIGUSR2. The code appears to be stuck in read_multipart for both processes:
# kill -USR2 6109
** USR2 signal received.
Thu Sep 21 14:55:39 EDT 2006: Reaping 1 threads for slow workers because
of ''shutdown''
Thread #<Thread:0x419d7ce0 run> is too old, killing.
Waiting for 1 requests to finish, could
2007 Mar 23
0
Error - Conflicting types for parameter containers
Hi,
I am trying to implement password-reset functionality.
I have an email sent out to a user when they request a password. The
URL in the email contains a cgi param, of which is a SHA 256 hex
digest. The user clicks on that link and the page is opened in a
separate window, when the user enters in their password. When I hit
submit, I get the following error, anyone run into this error before?
2006 Jan 10
1
File upload via SSL not possible
We use an apache server (version 2.0.54) with mod_ssl and the latest
rails version on a Gentoo Linux OS.
We tried to run our application in both, a virtual host using HTTP and
another using HTTPS with identical server configurations. With HTTP, we
did not have any problem, but HTTPS did not allow us to upload files in
rails into a database.
The log file displays a fcgi timeout and the HTTP
2007 Nov 29
5
Webrat 0.1.0 released - Ruby Acceptance Testing for Web applications
Hey guys,
We developed this plugin while writing my first real set of RSpec
stories. It''s still missing a lot of functionality, but it''s useful to
us as is, so I''m shipping 0.1.0. (Patches welcome. :) )
Code is available at: http://svn.eastmedia.net/public/plugins/webrat/
What do you think?
-Bryan
Here''s the README:
2006 Jul 20
6
Ruby on Rails & FastCGI 500 Error
I''m getting an error 500 and I''m at my wits end as to what could be
causing it. I''m sure the path to the ruby executable is correct so what
else could be causing it?
--
Posted via http://www.ruby-forum.com/.
2006 Feb 28
6
Log Files in View
Is it possible to display the log files in the view?
Thanks in advance.
--
Posted via http://www.ruby-forum.com/.
2006 Nov 04
0
rake db:migrate is semi-broken
Whenever I run rake db:migrate I get the following "error":
antrover:~/Sway/Projects/mi7/branches/sway_dev_mi7 dhoefler$ rake db:migrate
(in /Users/dhoefler/Sway/Projects/mi7/branches/sway_dev_mi7)
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/validations.rb:334:
warning: `*'' interpreted as argument prefix
2006 Nov 17
4
acts_as_ferret and searching word docs
I was wondering if it is possible to search word documents using ferret.
The actual text in a word document isn''t in a binary format - only the
formatting. Surely it would be possible to parse that?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 19
3
Flex or OpenLaszlo
I''m just wondering if anybody has got any experience in integrating Flex
or OpenLaszlo with Rails and which people prefer.
I''ve seen some of the tutorials but am pondering which one, if any, I
should turn to:
http://coenraets.com/tutorials/flexonrails/flexonrails.html
http://www.liverail.net/articles/2006/04/16/rubyonrails-1-1-and-flex-2-0-pt-1
2007 Oct 30
2
WebDav Support.
Hi guys,
I read that mongrel supports the webdav protocol. I need to "create" the
webdav files and allow a third party app access it just for read purposes.
What do you recommend?
--
Fernando Lujan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20071030/1527bd35/attachment.html
2006 Jun 11
3
Armageddon
I''m just wondering what happened to Armageddon and whether people had
any more information/news about it. I''ve thought about comet but I think
that a flash socket would be easier to implement. Does Armageddon have
the same drawbacks as other flash sockets, namely not working over port
80 (so the companies firewall blocks it)?
--
Posted via http://www.ruby-forum.com/.
2006 Dec 07
2
validate_on_destroy ?
What''s the best way to validate_on_destroy. Rails only seems to include
validate_on_create and validate_on_update methods. I don''t want to
resort to doing:
before_destroy do |j|
raise "There is an error" if j.etc
end
Is there a way of finding out what action (create/update/destroy) is
being performed if I use the ''validate'' method?
--
Posted via