search for: initialize_queri

Displaying 15 results from an estimated 15 matches for "initialize_queri".

Did you mean: initialize_query
2006 Sep 30
0
ActionPack CGI and Ruby 1.8.5
I know 1.8.5 isn''t officially sanctioned but something has changed in it that is breaking the ActionPack unit tests for cgi.rb. Wasn''t able to trace if it''s something in Rails that needs adjusted or if cgi.rb picked up a bug. The first run is the default OS X ruby 1.8.2, the second run is ruby 1.8.5 rsilvas-computer:/srv/rails/trunk/actionpack rsilva$ /usr/bin/ruby
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
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 Mar 06
0
fastcgi upload - multipart problem
Hi, I''ve got multipart request with 1 file upload form problem. I''m using suse 10 basic installation : -ruby 1.8.2, -rubyfcgi 0.8.6-5, -apache 2.0.54, -apache2-mod_fastcgi-2.4.2-4 When starting whith webrick, my application uploads files correctly.When using both cgi or fastcgi, browser runs forever with files greater than 5kb. fastcgi
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 Dec 16
0
Integration Testing - hang with post parameters
I''m getting some weirdness with integration testing. The following works fine if I don''t have parameters, but as soon as I add parameters I get a hang. Not sure exactly where it is hanging. NO HANG post ''user/register'' HANG post ''user/register'', :user => {:name => ''John Doe'', :email =>
2008 Apr 07
0
Crash uploading file on HTTPS/SSL rails project
Hi all, I''ve a rails project which successfully uploads images on the development server but fails to do it on production. The only difference is that the production server is on https/ssl. On the browser the error message is the followin: ''Application error Rails application failed to start properly'' Whereas in the log/fastcgi.crash.log i found the followin error
2006 Jun 02
0
Warning messages after upgraded from rails 1.0 to 1.1
Just upgrade from rails 1.0 to 1.1 Everytime I run the unit and/or functional tests, I got the following messages. Is there something I need to do to remove? I am not sure where to start. Thanks in advance. /usr/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/validations.rb:334: warning: `*'' interpreted as argument prefix
2006 Mar 14
5
Apache2 + FastCGI + SSL: File upload fails with HTTPS
All, I have run into a road block with my RoR project. The app works fine without SSL but when I try to upload a file with the site running in HTTPS, cgi.rb throws an EOFError: [13/Mar/2006:23:05:48 :: 22982] Dispatcher failed to catch: bad content body (EOFError) /usr/lib/ruby/1.8/cgi.rb:981:in `read_multipart?
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 May 24
0
Mongrel errors on file upload
I did a spike in my sandbox to make sure I understood how to do file uploads using CGI and there seems to be a problem with Mongrel. WEBrick doesn''t display the problem, but I can reproduce it everytime with Mongrel. I''d really appreciate it if someone would try out the code below and see if they see the same thing. The browser behavior is: - under IE6, a Page Not Found error
2007 Aug 19
3
fastcgi issue on production
I just deployed my rails app to my production server. It''s all working locally, but when I switched it over to the production server (at dreamhost) I get this error: # Logfile created on Sun Aug 19 15:22:48 -0700 2007 by logger.rb/ 1.5.2.9 [19/Aug/2007:15:22:48 :: 1841] starting [19/Aug/2007:15:22:48 :: 1841] Dispatcher failed to catch: You have a nil object when you didn''t
2005 Dec 15
11
CGI Module in Rails
I''m trying to use the CGI module to generate the html in a view but am having trouble. My controller looks like: class MyTestController < ApplicationController def cgitest require ''cgi'' @cgi=CGI.new("html3") end end My cgitest.rhtml view document simply has: <%= @cgi.out{@cgi.html{@cgi.head{}}} %> Loading MyTest/cgitest, Rails tells me that
2006 May 17
3
Rails "Application Error" with apache and mod_fcgid
Hello, I have a gentoo system that I am trying to remotely develop rails applications on using apache and fcgi. I created the simple hello world example from Dave Thomas'' book to test the system and I receive an "application error" when I try to go to the page. I can startup webrick and use links to view the page just fine, but nothing doing through apache. I have
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/.