How to upload image?


#1

How to upload image in ember.js & rails?


#2

I’d use a plain xhr and send the file (https://developer.mozilla.org/en-US/docs/Web/Guide/Using_FormData_Objects). On the rails side you’d treat it as any other file.

Not a full-fledged answer, but should get you started.