On 7 Apr 2009, at 16:43, apm wrote: > 2. Store attachments outside of public and serve them using a > controller and send_file. I think this works for download links but > what about embedding images?
There shouldn't be any reason that you can't get this to work for images. One of the other possible approaches, if it suits, is to server the images from Amazon S3. This allows you to generate an expiring URL for downloading the image. -Matt --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---