Posted By

obi on 03/01/10


Tagged


Versions (?)

form_for with :multipart => true


 / Published in: Rails
 

URL: http://www.ruby-forum.com/topic/123062

  1. <!-- in new.html.erb -->
  2. <% form_for(@statset, :html => {:multipart => true}) do |f| %>
  3. <%= f.file_field :upload_file %>
  4. <% end %>

Report this snippet  

You need to login to post a comment.