I am using jQuery File Upload
http://blueimp.github.com/jQuery-File-Upload/
Together with Carrierwave for uploading images, with latest stable
version of Ruby and Rails installed.
I managed to make it working by following this manual
https://github.com/blueimp/jQuery-File-Upload/wiki/Rails-setup-for-V6
And it works perfectly well for uploading single images, but
once I add HTML5 multiple attribute to allow uploading multiple images
at once and select multiple images, I get following error on each
request.
NoMethodError in Advertiser::MediaController#create
undefined method `[]'' for nil:NilClass
Every request seems absolutely same to me and I can''t seem to figure
out
why it can''t upload multiple images but can upload single images,
please
note that if I have multiple attribute enabled, I can''t even upload a
single image but once I take it off, uploading works once again. jQuery
File Upload is perfectly capable of uploading multiple images and you
can check it out in their demo.
Any hints on where to dig would be very much appreciated.
Thank you in advance.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.