Submit_to_remove : possible to send a type="file"?

Hello,

In a form I can send and receive a text_field with a submit_to_remote.
No problem.

But I can’t see any data of the file type. If i do : params.inspect, I
see all, except the file variable.

This is impossible ?
Thanks

oo00oo wrote:

Hello,

In a form I can send and receive a text_field with a submit_to_remote.
No problem.

But I can’t see any data of the file type. If i do : params.inspect, I
see all, except the file variable.

This is impossible ?
Yup. AJAX can’t (directly) do file uploads.

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