[Rails] Image upload problems

Berndt Jung berndtj at gmail.com
Wed Jan 5 04:26:11 GMT 2005


Thanks for all the help.  I am indeed running rails 0.9.1, so I'm
going to go ahead and blame it on the driver for now.  I thought about
just storing the path, and saving the file to a directory, but I
couldn't see any reason not to just store the whole file.  Is there a
common practice rule?

I do have code writen in PHP that works as well, but it wasn't helping
me out.  I tried a couple different routes with no luck.  It could
very well be the driver.  I just like writing ruby code more than PHP,
so I'm trying to stay exclusively Ruby.  Now I just need to get it
sped up.

This was my first post.  Thanks for all the help.  It's good to know
that there is a community around this.

Berndt



On Tue, 4 Jan 2005 20:53:33 -0500, Tobias Luetke
<tobias.luetke at gmail.com> wrote:
> Its the mysql ruby driver and its fixed in the 0.9.3
> 
> you should do gem update to get the latest rails and then gem install
> mysql to get the native c based mysql extensions which are faster.
> 
> Cheers!
> 
> On Tue, 4 Jan 2005 11:41:47 -0800, Berndt Jung <berndtj at gmail.com> wrote:
> > I tried resizing and formatting with RMagick
> > (really cool extention), but it complained about the files I was
> > sending it.  So now I'm pretty sure that either ruby/rails is
> > corrupting the files, or mysql.
> 
> 
> --
> Tobi
> http://www.hieraki.org   - Open source book authoring
> http://blog.leetsoft.com - Technical weblog
>


More information about the Rails mailing list