How to put uploaded images into a static directory?

I’m going to be developing an app that I’d like to have a regular form
where you can upload a single image with it, but then I’d like the
image to be put in a static directory (like public) so the main server
(not mongrel for example) can serve it fast. Anyone know the easiest
way to go about doing this?

Sorry, am kind of new to rails…

Thanks
rob

Easiest is probably to use the file_column library

http://www.kanthak.net/opensource/file_column/

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs