goggin13/handlebars_wax — pull request #1 by ericcj (2012-08-27 14:33:38+00:00)
Title: use handlebars instead of deprecated hbs gem

i'm experiencing segfaults from therubyracer 0.9 so i went to upgrade it and realized i had to go all the way back up the chain to this project. switching this from hbs to handlebars seemed to get me there after these minor changes. these commits seem to get close to working, although with ohai_its_me i end up with the below error when going to the posts page. nothing looks especially interesting with those partials, especially given that navel_gazer's PostsControllerTest passes just fine and that's rendering _ng_posts.jst.hbs which uses a partial (maybe nested partials are the problem?). in any case should we even be using this project anymore as opposed to migrating to https://github.com/cowboyd/handlebars-rails

thanks

ActionView::Template::Error (Object # has no method 'match'):
at Object.next (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/parser.js:330:33)
at Object.lex (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/parser.js:354:22)
at lex (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/parser.js:127:28)
at Object.parse (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/parser.js:145:26)
at Object.parse (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/base.js:9:28)
at compile (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/compiler.js:792:26)
at rb::Partials. (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/compiler.js:801:18)
at Object.invokePartial (handlebars (0.3.1) vendor/handlebars/lib/handlebars/runtime.js:60:27)
at program1 (eval at (handlebars (0.3.1) vendor/handlebars/lib/handlebars/compiler/compiler.js:480:25))
at handlebars (0.3.1) vendor/handlebars/lib/handlebars/runtime.js:45:14
handlebars (0.3.1) lib/handlebars/template.rb:10:in `call'
app/assets/templates/posts/_dates.jst.hbs:12:in `_app_assets_templates_posts__dates_jst_hbs__2289582038821826990_41312080'