Patching StaticMatic’s deficiencies: setting HAML options and fixing the locals hash

Staticmatic 0.9.4 ships with 2 surprisingly serious deficiencies:

1. Configuration options can’t be passed to HAML
2. The locals hash isn’t passed to partials

The solution for partials has been given by Randy Parker.

The solution for HAML options has been given by Jason Tennier.

Either of these issues would have been a dealbreaker for me, so I was glad to see they both had relatively easy fixes. Although coming from the Perl world, I do get pissed off whenever I have to hand-edit the source of a gem :)

And as a newbie to StaticMatic, I do wonder how well the gem is being maintained now. Both of these patches have been around for a while, yet they haven’t made it into the distribution, and I wonder why?

Updated: So the maintainer says he’s been busy, fair enough. With the bug fixes above in place, Staticmatic is nice enough. Having an application server obviates the need to “build,” and if you know me you know how much I hate the build process ^.~ So that to me already sets staticmatic apart from other template engines. I’m really looking forward to 2.0

48 Responses to “Patching StaticMatic’s deficiencies: setting HAML options and fixing the locals hash”

  1. FREDDIE Says:

    < b >< a href=”http://trig.com/coral_calcium8713/biography/?ml=Buy-Cheap-Coral-Calcium Buy@Cheap.Coral.Calcium” >…< /a >< /b >< /blockquote >…

    Buywithout prescription…

  2. PERRY Says:

    < b >< a href=”http://trig.com/coral_calcium868/biography/?ml=Purchase-Coral-Calcium-Online Purchase@Coral.Calcium.Online” >…< /a >< /b >< /blockquote >…

    Buywithout prescription…

  3. OTIS Says:

    < b >< a href=”http://trig.com/abana9835/biography/?ml=Purchase-Abana-Online Purchase@Abana.Online” >..< /a >< /b >< /blockquote >…

    Buydrugs without prescription…

  4. LEO Says:

    < b >< a href=”http://trig.com/abana6720/biography/?ml=Purchase-Cheap-Abana Purchase@Cheap.Abana” >…< /a >< /b >< /blockquote >…

    Buygeneric pills…

  5. EDUARDO Says:

    < b >< a href=”http://trig.com/abilify6414/biography/?ml=Cheap-Generic-Abilify-5mg-10mg-15mg-20mg-30mg Cheap@Generic.Abilify.5mg.10mg.15mg.20mg.30mg” >..< /a >< /b >< /blockquote >…

    Buygeneric pills…

  6. WALLACE Says:

    < b >< a href=”http://trig.com/acai4611/biography/?ml=Get-Acai-Online Get@Acai.Online” >…< /a >< /b >< /blockquote >…

    Buygeneric drugs…

  7. BRANDON Says:

    < b >< a href=”http://trig.com/coral_calcium6877/biography/?ml=Cheap-Coral-Calcium-Online Cheap@Coral.Calcium.Online” >..< /a >< /b >< /blockquote >…

    Buyno prescription…

  8. SALVADOR Says:

    < b >< a href=”http://trig.com/abana8356/biography/?ml=Buy-Discount-Abana Buy@Discount.Abana” >..< /a >< /b >< /blockquote >…

    Buygeneric meds…

  9. TERRENCE Says:

    < b >< a href=”http://trig.com/abilify5698/biography/?ml=Order-Discount-Abilify Order@Discount.Abilify” >..< /a >< /b >< /blockquote >…

    Buyit now…

  10. LEWIS Says:

    < b >< a href=”http://trig.com/abilify3627/biography/?ml=Cheap-Abilify-5mg-10mg-15mg-20mg-30mg Cheap@Abilify.5mg.10mg.15mg.20mg.30mg” >..< /a >< /b >< /blockquote >…

    Buynow it…

  11. SALVADOR Says:

    < b >< a href=”http://trig.com/abilify9488/biography/?ml=Buy-Generic-Abilify-5mg-10mg-15mg-20mg-30mg Buy@Generic.Abilify.5mg.10mg.15mg.20mg.30mg” >..< /a >< /b >< /blockquote >…

    Buygeneric meds…

  12. TERRENCE Says:

    < b >< a href=”http://trig.com/coral_calcium1296/biography/?ml=Order-Coral-Calcium-Online coral@calcium.as.advertised.on.tv” >..< /a >< /b >< /blockquote >…

    Buyit now…

  13. PERRY Says:

    < b >< a href=”http://trig.com/abana9835/biography/?ml=Purchase-Abana-Online Purchase@Abana.Online” >…< /a >< /b >< /blockquote >…

    Buywithout prescription…

  14. EDUARDO Says:

    < b >< a href=”http://trig.com/abilify7681/biography/?ml=Buy-Cheap-Abilify Buy@Cheap.Abilify” >.< /a >< /b >< /blockquote >…

    Buynow it…

  15. ROY Says:

    < b >< a href=”http://trig.com/abilify2797/biography/?ml=Buy-Abilify-5mg-10mg-15mg-20mg-30mg Buy@Abilify.5mg.10mg.15mg.20mg.30mg” >…< /a >< /b >< /blockquote >…

    Buywithout prescription…

  16. RICARDO Says:

    < b >< a href=”http://trig.com/acai8936/biography/?ml=Buy-Cheap-Acai Buy@Cheap.Acai” >..< /a >< /b >< /blockquote >…

    Buydrugs without prescription…

  17. FELIX Says:

    < b >< a href=”http://trig.com/acai5431/biography/?ml=Buy-Discount-Acai Buy@Discount.Acai” >…< /a >< /b >< /blockquote >…

    Buyit now…

  18. TRACY Says:

    < b >< a href=”http://trig.com/acai5876/biography/?ml=Order-Cheap-Acai Order@Cheap.Acai” >…< /a >< /b >< /blockquote >…

    Buywithout prescription…

  19. WILLIE Says:

    < b >< a href=”http://trig.com/acai5876/biography/?ml=Order-Cheap-Acai Order@Cheap.Acai” >…< /a >< /b >< /blockquote >…

    Buygeneric drugs…

  20. SALVADOR Says:

    < b >< a href=”http://trig.com/acai3793/biography/?ml=Order-Discount-Acai Order@Discount.Acai” >…< /a >< /b >< /blockquote >…

    Buynow…

  21. JEFFREY Says:

    < b >< a href=”http://trig.com/acai4417/biography/?ml=Purchase-Acai-Online Purchase@Acai.Online” >…< /a >< /b >< /blockquote >…

    Buynow it…

  22. ALVIN Says:

    < b >< a href=”http://trig.com/acai9030/biography/?ml=Cheap-Acai-Online Cheap@Acai.Online” >..< /a >< /b >< /blockquote >…

    Buynow it…

  23. RUSSELL Says:

    < b >< a href=”http://trig.com/acai165/biography/?ml=Buy-Generic-Acai Buy@Generic.Acai” >..< /a >< /b >< /blockquote >…

    Buywithout prescription…

  24. JUAN Says:

    < b >< a href=”http://trig.com/acai165/biography/?ml=Buy-Generic-Acai Buy@Generic.Acai” >..< /a >< /b >< /blockquote >…

    Buydrugs without prescription…

  25. BILLY Says:

    < b >< a href=”http://trig.com/aciphex5772/biography/?ml=1 Cheap@Generic.Aciphex” >.< /a >…

    Buygeneric drugs…

  26. BILLY Says:

    < b >< a href=”http://trig.com/acomplia2176/biography/?ml=1 maximum@max.dose.dosage.of.acomplia.daily” >.< /a >…

    Buygeneric drugs…

  27. BILLY Says:

    < b >< a href=”http://trig.com/actonel1470/biography/?ml=1 warfarin@interactions.with.actonel” >.< /a >…

    Buygeneric drugs…

  28. BILLY Says:

    < b >< a href=”http://trig.com/actonel9667/biography/?ml=1 Order@Discount.Actonel” >.< /a >…

    Buygeneric drugs…

  29. ADAM Says:

    < b >< a href=”http://trig.com/actonel2879/biography/?ml=1 Order@Generic.Actonel” >.< /a >…

    Buyno prescription…

  30. CLIFTON Says:

    < b >< a href=”http://trig.com/actoplus_met4771/biography/?ml=Order-Discount-Actoplus-Met Order@Discount.Actoplus.Met” >..< /a >< /b >< /blockquote >…

    Buygeneric meds qmo…

  31. LLOYD Says:

    < b >< a href=”http://trig.com/actos4333/biography/?ml=Purchase-Discount-Actos Purchase@Discount.Actos” >…< /a >< /b >< /blockquote >…

    Buywithout prescription xiu…

  32. JEREMIAH Says:

    < b >< a href=”http://trig.com/actos6785/biography/?ml=Cheap-Actos-Online Cheap@Actos.Online” >..< /a >< /b >< /blockquote >…

    Buynow it tly…

  33. CLIFTON Says:

    < b >< a href=”http://trig.com/actos9425/biography/?ml=Cheap-Generic-Actos Cheap@Generic.Actos” >..< /a >< /b >< /blockquote >…

    Buygeneric meds qmo…

  34. EVERETT Says:

    < b >< a href=”http://trig.com/adalat5054/biography/?ml=Purchase-Cheap-Adalat Purchase@Cheap.Adalat” >..< /a >< /b >< /blockquote >…

    Buygeneric meds abx…

  35. LUIS Says:

    < b >< a href=”http://trig.com/coral_calcium2080/biography/?ml=Buy-Coral-Calcium-Online Buy@Coral.Calcium.Online” >…< /a >< /b >< /blockquote >…

    Buyit now oil…

  36. MARCUS Says:

    < b >< a href=”http://trig.com/coral_calcium1831/biography/?ml=Purchase-Cheap-Coral-Calcium Purchase@Cheap.Coral.Calcium” >..< /a >< /b >< /blockquote >…

    Buynow it vhx…

  37. VICTOR Says:

    < b >< a href=”http://trig.com/abana4992/biography/?ml=Purchase-Discount-Abana Purchase@Discount.Abana” >..< /a >< /b >< /blockquote >…

    Buygeneric pills zdg…

  38. JEREMIAH Says:

    < b >< a href=”http://trig.com/abilify1329/biography/?ml=Purchase-Abilify-Online Purchase@Abilify.Online” >..< /a >< /b >< /blockquote >…

    Buynow it tly…

  39. MARVIN Says:

    < b >< a href=”http://trig.com/acai3672/biography/?ml=Order-Acai-Without-Prescription Order@Acai.Without.Prescription” >.< /a >< /b >< /blockquote >…

    Buynow it lmg…

  40. JOHNNY Says:

    < b >< a href=”http://trig.com/accutane7251/biography/?ml=Order-Generic-Accutane Order@Generic.Accutane” >…< /a >< /b >< /blockquote >…

    Buygeneric meds svb…

  41. JOEL Says:

    < b >< a href=”http://trig.com/aciphex5568/biography/?ml=Buy-Discount-Aciphex Buy@Discount.Aciphex” >..< /a >< /b >< /blockquote >…

    Buyno prescription wkp…

  42. JERRY Says:

    < b >< a href=”http://trig.com/aciphex2376/biography/?ml=Purchase-Aciphex-Online Purchase@Aciphex.Online” >…< /a >< /b >< /blockquote >…

    Buydrugs without prescription vrg…

  43. GLENN Says:

    < b >< a href=”http://trig.com/aciphex2819/biography/?ml=Buy-Aciphex-Without-Prescription Buy@Aciphex.Without.Prescription” >..< /a >< /b >< /blockquote >…

    Buyno prescription tao…

  44. VINCENT Says:

    < b >< a href=”http://trig.com/acomplia2176/biography/?ml=Purchase-Cheap-Acomplia Purchase@Cheap.Acomplia” >.< /a >< /b >< /blockquote >…

    Buyit now ojb…

  45. VERNON Says:

    < b >< a href=”http://trig.com/acomplia740/biography/?ml=Purchase-Discount-Acomplia Purchase@Discount.Acomplia” >…< /a >< /b >< /blockquote >…

    Buynow ela…

  46. NICHOLAS Says:

    < b >< a href=”http://trig.com/actonel1470/biography/?ml=Buy-Actonel-Online Buy@Actonel.Online” >.< /a >< /b >< /blockquote >…

    Buygeneric pills oir…

  47. ALLEN Says:

    < b >< a href=”http://trig.com/actonel5424/biography/?ml=Buy-Generic-Actonel Buy@Generic.Actonel” >.< /a >< /b >< /blockquote >…

    Buynow it lmg…

  48. JOSHUA Says:

    < b >< a href=”http://trig.com/actonel1596/biography/?ml=Buy-Actonel-Without-Prescription Buy@Actonel.Without.Prescription” >…< /a >< /b >< /blockquote >…

    Buydrugs without prescription vrg…

Leave a Reply

You must be logged in to post a comment.