Problem with Upload module
valery+nginxen at grid.net.ru
Mon Aug 11 21:58:07 MSD 2008
I personally have absolutely no idea whether it is okay or not. This is
beyond my competence.
Tieg Zaharia wrote:
> This is more of a rails standard than a ruby standard, but shouldn't it
> be okay to send the form field to the app server as
> "photo[uploaded_data][name]", "photo[uploaded_data][content_type]", etc.
> instead of just "photo[name]", "photo[content_type]", etc? The bracketed
> values are usually used as attributes of a model, so you probably don't
> want to take a chance of mixing up the model attributes with the
> uploaded data's nginx attributes,
More information about the nginx