How to upload image?

How to upload image in ember.js & rails?

I’d use a plain xhr and send the file (Using FormData Objects - Web APIs | MDN). On the rails side you’d treat it as any other file.

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