I'm using dropzone-rails to add dropzone to my Rails app. I'm using CarrierWave for image uploads which is working fine without Dropzone.
I'm creating my dropzone programatically. The Dropzone seems to be working to some extent as the image gets added to the drop zone but it outputs tons of random HTML. The image doesn't get uploaded either.
Here's what it looks like:

My Canvas model has an :image attribute for the uploaded images. I don't know what the URL for the dropzone form should be, so I just went with /canvases/21, because the page I'm currently trying it on is /canvases/21. I'm guessing the URL is causing the problem.
var canvasDropzone = new Dropzone("#canvas", {
paramName: "canvas[image]",
url: "/canvases/21"
})
<div id="canvas"></div>
My canvas.rb:
mount_uploader :image, ImageUploader