JangoSteve / remotipart

Rails jQuery file uploads via standard Rails "remote: true" forms.
http://os.alfajango.com/remotipart
Other
1k stars 215 forks source link

Alternative Ajax Transport (no textarea) #113

Open matiasgali opened 10 years ago

matiasgali commented 10 years ago

In case you find it useful for remotipart, Bifröst is an alternative implementation of a jQuery Ajax transport that allows to send both files and data asynchronously using the iframe technique, but it doesn't need the responses to be wrapped up by a textarea to parse data, so you can work with regular Rails responses (html, json, txt, etc.).

It has a set of built-in unit tests you can run to verify that data is parsed properly on different browsers. It uses Jaqen to test different types of requests and responses.