I have the following upload form: <% form_for @product_datum, :url => { :action => :create }, :html => { :multipart => true } do |form| %>
... <%= form.file_field :uploaded_data%> <%= form.submit "Upload" %> In my controller I have a def create .. end For some reason when the user clicks submit, it routes as a GET and sends them to the controller's "index" function. I had this working fine a few days ago, but I am lost as to figuring out why the routing is now messed up. Thanks -- 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---