Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Haml for rails, Use 'haml' gem alone or with 'haml-rails'

I am making the switch to Haml for our rails 3.1 application, and I wonder what is bringing to the table by the 'haml-rails' gem against 'haml' alone, apart rails generators?

It says that it preloads the haml in rails process. Does it means a lot of benefits in performance? We are mixing erb and haml so it doesn't seems to be so good to preload every time the haml library.

Thanks!

like image 874
Hartator Avatar asked Feb 21 '23 20:02

Hartator


1 Answers

I use haml-rails primarily to make the generators output haml views instead of erb. Beyond that, I'm not aware of any difference.

like image 109
Ben Scheirman Avatar answered Mar 04 '23 15:03

Ben Scheirman