Partial buffer name was not correct with Emacs 24. It was _partial_name\\.html.\\erb.