RailsCasts Pro episodes are now free!

Learn more or hide this

Egbert's Profile

GitHub User: egbertp

Comments by Egbert


Today I had some issues getting the progress bar to work as described by Ryan in this screencast. There seems to be an incompatibilty with jQuery 1.9 as Synthmax also mentioned.

In Firebug you'll see an this error when you try to upload a file:

Error: Syntax error, unrecognized expression:

I've found a solution to get the progress bar to work again.

Change the following line in your paintings.js.coffee:

data.context = $(tmpl("template-upload", file))


data.context = $(tmpl("template-upload", file).trim()) if $('#template-upload').length > 0

Please let me know if this helps you