I have experience with Erubis, it's faster than erb and almost a drop in replacement.
Sent from my iPhone On Jun 8, 2011, at 8:52, Bradly <[email protected]> wrote: > The thought of going back to erb after using haml is like the thought of > going back to PHP after using Ruby. > > Things I love about Haml: Less typing, less noise, seeing an error when I > have an error in my markup, easier to read, easier to maintain, and more fun. > > -Bradly > > > > On Wed, Jun 8, 2011 at 6:39 AM, Jay Swain <[email protected]> wrote: > Add the gem to the gemfile, bundle install... > > naming convention of the views should be: name.html.haml. > > Rails will render templates with a .erb extension before rendering templates > with the .haml extension. So if you have index.html.erb, and index.html.haml > exist, be sure to delete the erb file. > > what do you mean "not recognized by the browser" ? missing template error? > > On Jun 8, 2011, at 3:34 AM, Pardeep wrote: > > > Does anyone have any experience with Eurubis or Tenjin vs Haml or Erb > > in a production environment for ease of dev and speed? > > > > Incidentally I had problems getting Haml working. Installed haml gem > > and install bundle having included it in the gem file. Was able to > > generate haml files via the command line, but not recognized in the > > browser. > > > > Any tips much appreciated. > > > > -- > > SD Ruby mailing list > > [email protected] > > http://groups.google.com/group/sdruby > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby > > -- > SD Ruby mailing list > [email protected] > http://groups.google.com/group/sdruby -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
