I’m having a quite peculiar problem that hopefully someone can help me
I use attachment_fu for image uploads, and found that uploads with
any .pages files don’t work. The error I’m getting for my development
Mon Feb 09 14:20:26 +1300 2009: Error reading HTTP body:
#<RuntimeError: Socket read return nil>
(There’s more stack trace, but it seems to stem from there)
So the error is when mongrel tries to read the file, before it even
hits my application code. I’ve also tried running my development
server using thin, but again an error was thrown before even hitting
my application code (I assume that both are built on socket or
whatever is actually causing this error).
Has anyone else run into this, or does anyone know enough about the
code in the socket that’s being used here to help out?
ruby 1.8.6 (2007-09-23 patchlevel 110) [i686-darwin8.10.2]
and Rails 2.1.0