<div dir="ltr">Sorry, I just meant if it was valid with the upload module, since the example you posted sent "photo" instead of "photo[uploaded_data]" as the file? I misunderstood and thought you took out the bracketed params because of a limitation with the upload module,<div>
<br></div><div>-tieg<br><br><div class="gmail_quote">On Mon, Aug 11, 2008 at 1:58 PM, Valery Kholodkov <span dir="ltr"><<a href="mailto:valery%2Bnginxen@grid.net.ru">valery+nginxen@grid.net.ru</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I personally have absolutely no idea whether it is okay or not. This is beyond my competence.<div class="Ih2E3d"><br>
<br>
Tieg Zaharia wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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,<br>
</blockquote>
<br></div>
-- <br>
Regards,<br><font color="#888888">
Valery Kholodkov<br>
<br>
</font></blockquote></div><br></div></div>