anchor.diff:  <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.singular }[#{ method }_attributes][#{ index }][id]", dropzone_object.id %>
  +    <%= hidden_field_tag "#{ object.class.model_name.element }[#{ method }_attributes][#{ index }][id]", dropzone_object.id %>
     <% end %>
   </div>
   
  
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:       success: function(file, data) {
          file.id = data.id;
          file.fresh = true;
          $(dropzone_id).append('<input type="hidden" name="<%= object.class.model_name.element %>[<%= method %>_attributes][' + mockFilesCount + '][id]" value="' + data.id + '" />');
          $(file.previewElement).attr('data-id', data.id);
          $(file.previewElement).attr('data-url', data.url);
          $(file.previewElement).attr('data-index', mockFilesCount++);
  