Reminder - rails forms with file uploads


Just a quick reminder for myself: if you're doing a form that is uploading files, remember to add :multipart => true to the form tag, e.g.:
products_path(@product), :html => {:multipart => true, :method => :put }) do |f| %>


How to reply

Care to add your own 2 cents? Let me know via Twitter or my contact page.