Forum: Ruby on Rails File_column and multiple file select

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Sunder I. (Guest)
on 2005-12-31 02:56
(Received via mailing list)
Hello All,
I have been playing with file_column for a while and I love it. Thank
Sebastian. For the last couple of days , I have been trying to upload
multiple files with a single file element as explained here

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

undefined method `stringify_keys!' for


"Save"=>"Submit Query",

My view is as below

    <!-- Include the javascript -->
    <%= javascript_include_tag "multifile" %>



<%= start_form_tag ({ :action => "create" }, :multipart => true) %>
  <%= error_messages_for 'entry' %><br/>
  <!-- p>
    <b>Picture1:</b><br />
  <%= file_column_field "entry1", "image" %>
  </p -->
<!-- The file element -- NOTE: it has an ID -->
    <input type="file" id="my_file_element">

  <p><input type="submit" name="Save" /></p>

<%= end_form_tag %>
<!-- This is where the output will appear -->
<div id="files_list"></div>
    <!-- Create an instance of the multiSelector class, pass it the
target and the max number of files -->
    var multi_selector = new MultiSelector( document.getElementById(
'files_list' ), 3 );
    <!-- Pass in the file element -->
    multi_selector.addElement( document.getElementById(
'my_file_element' )

My controller
def create
    @entry =[:entry_0])
    if (
        redirect_to :action => "show",:id => @entry
        render :action => "add_item"

I would appreciate it if someone provided any input.

This topic is locked and can not be replied to.