Displaying 20 results from an estimated 1000 matches similar to: "Errno::EINVAL: Invalid arguments - IE crash"
2006 Feb 16
1
file_column problem
I cannot get the file_column plugin to work. Probably something stupid
I am doing wrong as I am pretty much a newbie...
1. I added a varchar column to my table called "image"
2. This is my class:
class User < ActiveRecord::Base
file_column :image, :magick => { :geometry => "80x80>" }
attr_accessor :new_password
... rest of class
3. In my controller I
2006 Mar 20
1
RJS & IE Woes
Hi,
I''m trying to do a very simple slide_down effect with RJS templates.
Basically a user selects a check box and a text box slides down.
This works great in firefox, but causes IE to crash. The text box appears
and slides down. Then the browser crashes.
the in the partial is
<div id=''forklift_div''>
<label for=''incident_forklift''>Was
2006 Jul 20
0
Routing error
Hi!
I''ve appended this to the standard config/routing.rb:
map.connect '':id/:action'', :controller => ''cms/publish''
and it works but gives an error with every single HTTPrequest, even the
ones matching the standard (and higher priority) routes.
As an alternative I tried implementing it using
map.connect ''*path'', :controller
2006 Feb 22
0
Can you make an HTTP request inside an Ajax action?
I have a regular controller action which, when called, makes an HTTP
GET request to another server. That works fine. I''d like to throw
that inside an action called with link_to_remote, but that''s having
problems. The error I get follows. Any ideas?
Pat
http://localhost:3000/main/ -> /javascripts/prototype.js
[2006-02-22 06:08:11] ERROR ThreadError: timeout within
2005 Nov 22
2
Error messages: relative paths seem weakly handled?
I create my rails app, with modifications to the default from a script.
Having had to upgrade rails once, and knowing that this is likely to
happen again because of the rapid updating of rails, it seems the
most sensible way to do it. As a result, I often do
/bin/rm -rf csestore
and then run my script from another window to repopulate it.
So naturally, to save having to cd into csestore, and
2005 Nov 18
2
Migrate Ubuntu Rails App to Fedora?
I developed a small RoR app on my Ubuntu laptop and I just tried to migrate
it to my "production" box which is Fedora FC3. I moved the entire rails
app. I received this error when I tried to get the first page:
[2005-11-17 15:36:00] INFO WEBrick::HTTPServer#start: pid=32546 port=3000
192.168.0.61 - - [17/Nov/2005:15:40:01 EST] "GET /freesql HTTP/1.1" 200 0
- ->
2005 Dec 06
4
Errno::E232 (The pipe is being closed.)
I get this error on occasion using both Webrick and Apache2/FCGI:
Webrick Debug:
[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
[06/Dec/2005:07:46:19 :: 216] Dispatcher failed to catch: The pipe is
being closed. (Errno::E232)
C:/MyApp/Server/public/../config/../vendor/rails/actionpack/lib/action_controller/cgi_process.rb:158:in
2007 Nov 11
1
Passing from data via POST
Mongrel Users: How does the HttpHandler process() method deal with
data passed via POST?
The HttpRequest object captures all GET params appended to an URL, but
I just tried to
retrieve data passed via POST and it came up nil.
that is, I assumed the HttpRequest object contained the
param named in the html form and its value.But the POST passed params
are not found in the
request object.
Please
2007 Jan 21
1
Strange Ajax Error Since Upgrade
Hi All
I''m getting the following very strange Ajax error and I''ve searched
Google, this group and various other places to no avail. So I''m
desperately hoping someone here can help.
Whenever I try to execute any Ajax call whether as a form request or a
link_to_remote link I get the following error:
------------------- FORM REQUEST -------------------
[2007-01-21
2006 Nov 26
2
Writing a mod_put HttpHandler
I''m looking at writing a Mongrel handler that mimics the behavior of
the Apache mod_put [1]. It allows for the streaming upload of very
large (GB) files; it also supports resumable upload.
Before I get too involved, I''d like to ask if my reading of the
mongrel source code is correct, i.e. what I want to do isn''t
currently possible.
Looking at the class
2006 Mar 10
0
WEBrick crashing
ruby 1.8.2 (2004-12-25) [i386-mswin32]
latest version of edge rails - patched to make the server work with
win32 (http://dev.rubyonrails.org/ticket/4139)
On some pages WEBrick is crashing with the following:
d:/programming/ruby/lib/ruby/1.8/profiler.rb:27: You have a nil object
when you
didn''t expect it! (NoMethodError)
You might have expected an instance of Array.
The error occured
2006 Sep 20
0
boy, that mongrel_upload_progress handler sucks!
I started actually using the upload progress handler, and noticed it
was leaking memory over time. Looking at the code, I noticed that
cancelled uploads weren''t being cleaned up. I bugged Zed about adding
a request_abort callback to handlers, but I found a simple way to
monkey patch that in:
# config/mongrel_upload_progress.conf
# yes, this file is being used with -S meaning
2006 Aug 07
1
DirHandler escaping (patch)
fiddled around a bit and got DirGHandler to work for both files and directories with spaces in them, and plusses in them (on disk).
eg:
<a href="/files/usr/portage/packages/All/gtk%2B-2.10.1.tbz2">gtk+-2.10.1.tbz2</a><br/>
<a href="/files/root/hey+whatsthis+dir">hey whatsthis dir</a>
both end up at the right place now..
..c.
--------------
2007 Feb 05
2
recv vs. read in HTTPRequest#read_socket
Hello all,
The following change to Mongrel::HttpRequest:
def read_socket(len)
if !@socket.closed?
data = @socket.recv(len) # <--- formerly @socket.read(len)
if !data
raise "Socket read return nil"
elsif data.length != len
raise "Socket read returned insufficient data: #{data.length}"
else
data
end
else
raise "Socket
2006 Jan 18
7
script.aculo.us killing IE
Hi, i am new to ajax and new to script.aculo.us. I created a blog,
http://www.zorpal.com/blog/, using some of the script.aculo.us features and
commands. My sites works great in firefox, which everyone should be using,
but if you open it in IE it kills it. It only kills it after a
script.aculo.us motion has been called and finishs it''s execution. i really
like the layout and the visual
2006 Aug 07
1
DirHandler in surplus slashing / unrequited unescaping
im using Mongrels to serve up /usr/portage/packages for other gentoo boxen. since i guess im the guinea pig with the DirHandler, ran into a couple issues:
first, the client showed no files in the remote binhost, turns out the DirHandler was adding a trailing "/" to every filename, presumably making the client think they were directories, not files. attached is a patch which fixes this
2005 Dec 18
1
Informix adapter testing
I''ve just written an ActiveRecord adapter for Informix. It lacks a
pair of features that I will add later, but it works for me.
I found this on the web:
http://wiki.rubyonrails.com/rails/pages/HowToWriteAnActiveRecordAdapter
and followed it, but when I get to
$ rake test_informix
I get the following error messages:
-----------------------8<-----------------------
2006 May 30
2
Mongrel Bug
Mongrel''s tempfile generation on
win32 is broken meaning large files can''t be uploaded.
On line 198 of mongrel.rb
(0.13.3) HttpRequest#initialize the tempfile function is called:
if clen > Const::MAX_BODY
@body =
Tempfile.new(self.class.name)
@body.binmode
else
Unfortunately this also
includes the module name as the example shows:
2007 Jan 23
4
Want feedback on Mongrel patch for handling partial PUT requests
By default, Mongrel will delete the HTTP request body and short
circuit calling any handlers if a request is interrupted or
incomplete. Unfortunately, this breaks any attempt to correctly
handle a partial PUT. (BTW, PUT is *way* more efficient for uploads
compared to POST which requires a MIME parsing step.) So, about a
month ago I wrote up some patches to Mongrel 0.3.18 that allowed
2005 Oct 21
2
scriptaculous website - IE crashes
often when I "try to" visit the scriptaculous, it crashes IE - does anybody
else experience this as well?
_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now!
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/