[Mongrel] failed to allocate memory while downloading large files
luislavena at gmail.com
Tue Sep 14 08:43:26 EDT 2010
On Tue, Sep 14, 2010 at 9:39 AM, Amit Tomar <lists at ruby-forum.com> wrote:
> sorry luis but i didn't get you
> i uploaded my file in filesystem than how can i place file in public
> could you please give some example??
Are you using a plugin to manage your uploads? How are you saving the file?
Take the temporary file and use File.move or FileUtils.mv, wonder what
are you doing right now for that.
Please use google to search, there are plenty of file uploading
tutorials about Ruby on Rails on the internet covering "do from
scratch" or using gem/plugins.
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
More information about the Mongrel-users