add haml mode support for rails