File_column and multiple file select


#1

Hello All,
I have been playing with file_column for a while and I love it. Thank
you
Sebastian. For the last couple of days , I have been trying to upload
multiple files with a single file element as explained here
http://the-stickman.com/web-development/javascript/upload-multiple-files-with-a-single-file-element/

Unfortunately, Iam running into this error when I submit my form

undefined method `stringify_keys!’ for
#<File:C:/DOCUME~1/ssomasun/LOCALS~1/Temp/CGI6048.1>

Request

Parameters:
{“entry_0”=>#<File:C:/DOCUME~1/ssomasun/LOCALS~1/Temp/CGI6048.1>,
“Save”=>“Submit Query”,
“entry_1”=>#<File:C:/DOCUME~1/ssomasun/LOCALS~1/Temp/CGI6048.0>}

My view is as below

<%= javascript_include_tag "multifile" %>

<%= start_form_tag ({ :action => “create” }, :multipart => true) %>
<%= error_messages_for ‘entry’ %>

<input type="file" id="my_file_element">

<%= end_form_tag %>
Files:

My controller
def create
@entry = Entry.new(params[:entry_0])
if (@entry.save)
redirect_to :action => “show”,:id => @entry
else
render :action => “add_item”
end
end

I would appreciate it if someone provided any input.

Thanks!
Sunder