title: Cloudinary cl_image_upload vs cl_image_upload_tag
body: <p>I am trying to enable direct image upload from browser to cloudinary. The problem that I have is that the image is not being uploaded given the below syntax.</p>
  
  <pre><code>&lt;%= form_for(@product_image) do |f| %&gt;
    &lt;div class="field"&gt;
      &lt;%= f.cl_image_upload(:image) %&gt;
    &lt;/div&gt;
    &lt;%= f.submit %&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>If I replace this block</p>
  
  <pre><code>&lt;%= f.cl_image_upload(:image) %&gt;
  </code></pre>
  
  <p>with</p>
  
  <pre><code>&lt;%= cl_image_upload_tag("product_image[image]") %&gt;
  </code></pre>
  
  <p>the upload still does not happen. However, if I put both of them next to each other, then both will upload.</p>
  
  <p>I compare the html generated by the 2 cloudinary helper methods and they generate exactly the same html code. Looking at the code for these 2 helper methods, it seems that one is calling another.</p>
  
  <pre><code>def cl_image_upload(object_name, method, options={})
    cl_image_upload_tag("#{object_name}[#{method}]", options)
  end
  </code></pre>
  
  <p>and</p>
  
  <pre><code>def cl_image_upload_tag(field, options={})
    html_options = options.delete(:html) || {}
    if options.delete(:multiple)
      html_options[:multiple] = true
      field = "#{ field }[]" unless field.to_s[-2..-1] == "[]"
    end
  
    tag_options = html_options.merge(:type=&gt;"file", :name=&gt;"file",
      :"data-url"=&gt;cl_upload_url(options),
      :"data-form-data"=&gt;cl_upload_tag_params(options),
      :"data-cloudinary-field"=&gt;field,
      :"class" =&gt; [html_options[:class], "cloudinary-fileupload"].flatten.compact
    ).reject{|k,v| v.blank?}
    content_tag("input", nil, tag_options)
  end
  </code></pre>
  
  <p>If I really want to use just one block &lt;%= f.cl_image_upload(:image) %>, then I also have to add extra javascript</p>
  
  <p>$('.cloudinary-fileupload).cloudinary_fileupload();</p>
  
  <p>In your opinion, what is the best way for direct from browser upload to cloudinary with Carrierwave?</p>