Marnen Laibow-Koser wrote: > No. Image data does not belong in the DB. Put it in the filesystem > instead, and just store the filename in a text field in the DB.
The reason is simply so the webserver can serve images directly off the file system without touching any Ruby code. > There's the Paperclip plugin, and also attachment_fu. I've never used > either, but more people seem to like Paperclip. I worked for 2.5 years on a project that reproduced Paperclip from scratch (I got there just after the crew migrated the images _out_ of the database!), and now I would never serve images without it. -- Phlip http://zeekland.zeroplayer.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 -~----------~----~----~----~------~----~------~--~---

