Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

multiple file upload #5

Open
JeyKJey opened this issue Oct 21, 2012 · 3 comments
Open

multiple file upload #5

JeyKJey opened this issue Oct 21, 2012 · 3 comments

Comments

@JeyKJey
Copy link

JeyKJey commented Oct 21, 2012

Hello!
I tried to change the code in order to be able to upload multiple files but I did not succeed in it.
I changed:
<%= f.file_field :upload , multiple=>true%>
but after clinking on "Start upload" it could not upload the files and showed me errors.

Could you tell me what I should change?

Many thanks in advanced.
Cheers,
Katja

@JeyKJey
Copy link
Author

JeyKJey commented Oct 21, 2012

i have solved it. thanks

@OpenCoderX
Copy link

What did you do to solve it?

@penchiang
Copy link

You need to define the name field, e.g., <%= f.file_field :upload, :multiple=>true, :name=>"painting[image]" %>. You can refer to Railscasts #381, http://railscasts.com/episodes/381-jquery-file-upload?autoplay=true, for more information.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants