anchor.diff:  
         $(file.previewElement).find('.dz-filename, img').on('click', function() {
           var index = $(this).parents('.dz-preview:first').attr('data-index');
  -        var input = $(dropzone_id + ' input[name="<%= object.class.model_name.singular %>[<%= method %>_attributes][' + index + '][id]"]');
  +        var input = $(dropzone_id + ' input[name="<%= object.class.model_name.element %>[<%= method %>_attributes][' + index + '][id]"]');
           var title = prompt("<%=t 'dropzone.title' %>: ", $(file.previewElement).find('.dz-filename span').text());
           $(file.previewElement).find('.dz-filename span').text(title);
           input.val(title);
  
positive.code:       var position = 0;
        $(dropzone_id + ' .dz-preview').each(function() {
          var index = $(this).attr('data-index');
          $(dropzone_id).append('<input type="hidden" name="<%= object.class.model_name.singular %>[<%= method %>_attributes][' + index + '][<%= object.send(method).klass.send("dropzone_field", :position) %>]" value="' + (position++) + '" />');
        });
      };
  
  
negative.code: <div id="dropzone_<%= method %>_<%= cycle(*(1..999).to_a, name: method) %>" class="dropzone">
    <span class="notice"><%=t 'dropzone.drag_or_click' %></span>
    <% object.send(method).each_with_index do |dropzone_object, index| %>
      <%= hidden_field_tag "#{ object.class.model_name.element }[#{ method }_attributes][#{ index }][id]", dropzone_object.id %>
    <% end %>
  </div>
  
  