News for hackers. Stuff that matters.
Re:Rails 4.0: Final version released by davidw on Tuesday June 25, 2013 @11:08AM (#5939968)
As an aside, how is the jquery-fileupload thing? I was reading about it, and when I saw there was some weird iframe thing for IE... I closed the page and walked away. That kind of thing looks like it could be a nightmare if something goes wrong.
Re:Rails 4.0: Final version released by fbuilesv on Tuesday June 25, 2013 @02:00PM (#5941270)
Having recently worked with this project I can say that it's pretty reliable and way better than most jQuery plugins you'll find out there.

The iframe transport method for uploads is useful for browsers that don't support XHR file uploads (basically IE < 10). You can read more a bit about how it works in: https://github.com/blueimp/jQuery-File-Upload/wiki/Frequentl... or directly in the source: https://github.com/blueimp/jQuery-File-Upload/blob/master/js... (it's pretty small).

Re:Rails 4.0: Final version released by jpdoctor on Tuesday June 25, 2013 @11:28AM (#5940134)
> As an aside, how is the jquery-fileupload thing?

I don't have a good answer: Fine to program with, but certainly took some doing for our particular need. (We had a number of requirements that made the "easy" out-of-the-box jquery-fileupload not suitable.)

Ask me in a couple of months and I'll probably have a lot of opinions to give.

> and when I saw there was some weird iframe thing for IE... I closed the page and walked away.

We are migrating customers from a C++ desktop app to a web interface: So anyone on old IE with problems will be informed that they're not supported on the new system, so keep using the old and let us know after they upgrade. :) (Newer IE is OK.)

Deviously, this also prevents absolutely everyone from ditching the old app and swamping the new system on day 1.

Re:Rails 4.0: Final version released by ebiester on Tuesday June 25, 2013 @11:31AM (#5940158)
Unfortunately, that's the necessary hack, as far as I know, if you want to have an ajax submission.