Hartator
Hartator

Reputation: 5155

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!

Upvotes: 4

Views: 681

Answers (1)

Ben Scheirman
Ben Scheirman

Reputation: 41001

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

Upvotes: 8

Related Questions