Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: brw12
figured out why calling html() with an element object works at all:
...so the html() code WAS working right, but it's really calling .append(). Probably clearer to just use append().
(there's a big advantage to appending the element, rather than just the html from it by doing basically .html(...el.html()) : the @el object can be changed in the future in the js code, and we don't need to bother #container again.)
also, this was keeping me from getting that reset callback: