Displaying 1 result from an estimated 1 matches for "upload_files_path".
2010 Apr 24
2
problem using attachment_fu with S3
....megabyte..3.megabytes, :resize_to => ''450x450>'', :thumbnails => {
:thumb => ''150x150>'' }
validates_as_attachment
my view new
<h1>New upload_file</h1>
<%= error_messages_for :upload_file %>
<% form_for(:upload_file, :url => upload_files_path, :html => {
:multipart => true }) do |form| %>
<p>
<label for="uploaded_data">Upload a file:</label>
<%= form.file_field :uploaded_data %>
</p>
<p>
<%= submit_tag "Create" %>
</p>
<% end %>
Thank...