Xenio wrote:
> I have a DB that is already populated with data. There is a table
> called clubs that has an logo_big field set up as a blob. I have
> successfully used send_data to display the jpg pictures as I need them
> in the views. I just need to setup the edit/new view to enable me to
> upload the files.

If you put your image files in the database, you are asking for trouble. 
I realize that you're working with a DB that already does this, but now 
would be the time to remove the images from the database, put them in 
the filesystem, and do further uploads to the filesystem.

> 
> I tried paperclip but that requires changing the schema of the
> database which is not really an option for me.

Why not?  You have a bad schema in that it is trying to store binary 
data that doesn't really belong there.  Change the schema.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to