Now is solved, just in case that somebody will has the same problem, here 
is the solution, the view was right, I just change the controller part:

*collection_action :status_race, :method => :post do*
*
*
*    uploaded_io = params[:routes_status_race][:uploaded_data]*
*
*
*    File.open(Rails.root.join('app/importers', 'uploads', 
uploaded_io.original_filename), 'w') do |file|*
*      file.write(uploaded_io.read)*
*    end*
*    RoutesQuickcom.new()*
*    render "status_race"*
*  end*

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/ZKMkra8HGRgJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to