<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -44,6 +44,8 @@ Note: The 0.3 branch is a complete rewrite of everything, with a similar (but no
 
 [REMOVED] The remote_upload_form helper has been removed, for encouraging bad JS practice. It will not be readded. If you need remote uploads, uploading with Flash is much cooler, and can be done in an unobtrusive way. Check out Swiff.js for hints.
 
+[REMOVED] The 'image' helper has been removed, since its functionality is not really useful in any app (hopefully most apps) that uses named routes.
+
 ============================
 
 0.2.1</diff>
      <filename>CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,4 @@
-module UploadColumnHelper
+module UploadColumn::UploadColumnHelper
 
   # Returns an input tag of the &quot;file&quot; type tailored for accessing an upload_column field
   # (identified by method) on an object assigned to the template (identified by object).
@@ -12,17 +12,16 @@ module UploadColumnHelper
   # Note: if you use file_field instead of upload_column_field, the file will not be
   # stored across form redisplays.
   def upload_column_field(object, method, options={})
-    result = ActionView::Helpers::InstanceTag.new(object, method, self).to_input_field_tag(&quot;file&quot;, options)
-    result &lt;&lt; ActionView::Helpers::InstanceTag.new(object, method.to_s+&quot;_temp&quot;, self).to_input_field_tag(&quot;hidden&quot;, {})
+    file_field(object, method, options) + hidden_field(object, method.to_s + '_temp')
   end
-  
+
   # A helper method for creating a form tag to use with uploadng files,
   # it works exactly like Rails' form_tag, except that :multipart is always true
   def upload_form_tag(url_for_options = {}, options = {}, *parameters_for_url, &amp;proc)
     options[:multipart] = true
     form_tag( url_for_options, options, *parameters_for_url, &amp;proc )
   end
-  
+
   # A helper method for creating a form tag to use with uploadng files,
   # it works exactly like Rails' form_for, except that :multipart is always true
   def upload_form_for(*args, &amp;block)
@@ -30,37 +29,17 @@ module UploadColumnHelper
     options[:html] ||= {}
     options[:html][:multipart] = true
     args.push(options)
-    
+  
     form_for(*args, &amp;block)
   end
 
-  # Returns an image tag using a URL created by the set of +options+. Accepts the same options
-  # as ActionController::Base#url_for. It's also possible to pass a string instead of an options
-  # hash.
-  #
-  # Example
-  #     image( :action =&gt; &quot;solarize_picture&quot;, :id =&gt; @user )
-  # Use this in conjunction with UploadColumnRenderHelper.render_image to output dynamically
-  # rendered version of your RMagick manipulated images.
-  def image(options = {}, html_options = {})
-    html_options[:src] = if options.is_a?(String) then options else self.url_for(options) end
-    html_options[:alt] ||= File.basename(html_options[:src], '.*').split('.').first.capitalize
-
-    if html_options[:size]
-      html_options[:width], html_options[:height] = html_options[:size].split(&quot;x&quot;)
-      html_options.delete :size
-    end
-
-    tag(&quot;img&quot;, html_options)
-  end
-
 end
 
 class ActionView::Helpers::FormBuilder #:nodoc:
   self.field_helpers += ['upload_column_field']  
   def upload_column_field(method, options = {})
     @template.send(:upload_column_field, @object_name, method, options.merge(:object =&gt; @object))
-  end 
+  end
 end
 
-ActionView::Base.send(:include, UploadColumnHelper)
\ No newline at end of file
+ActionView::Base.send(:include, UploadColumn::UploadColumnHelper)
\ No newline at end of file</diff>
      <filename>lib/upload_column/rails/upload_column_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>63d2657bc37d74b715acf126d46dbfb0f8671c34</id>
    </parent>
  </parents>
  <author>
    <name>Jonas Nicklas</name>
    <email>jonas.nicklas@gmail.com</email>
  </author>
  <url>http://github.com/jnicklas/uploadcolumn/commit/24266ab9fb1fe22f4ebbd62563f700465c99e76e</url>
  <id>24266ab9fb1fe22f4ebbd62563f700465c99e76e</id>
  <committed-date>2008-04-09T11:20:10-07:00</committed-date>
  <authored-date>2008-04-09T11:20:10-07:00</authored-date>
  <message>cleaned up the UploadColumnHelper a bit

git-svn-id: http://uploadcolumn.rubyforge.org/svn/trunk@110 02338ee4-8dee-4235-8d26-5b68cf25713b</message>
  <tree>15c95b2cba16d7b3f6a49ed306141d39db4a0338</tree>
  <committer>
    <name>Jonas Nicklas</name>
    <email>jonas.nicklas@gmail.com</email>
  </committer>
</commit>
