If you're using Haml with Rails, it'll work just like ERB (once you have the plugin installed, that is): you write your views with the extension ".html.haml" and then when you go to view them in your browser, it's automatically compiled behind-the-scenes.
Does that help? On Sat, Nov 7, 2009 at 2:17 PM, webbieguy <[email protected]>wrote: > > Hi, > > I am a Ruby on Rails newbie and am trying to use Haml. I love the > different aspects of and would love to use it for everything. One > simple problem which I can't seem to find the answer to. How does it > get compiled? > > I have haml files in a Ruby on Rails project in Aptana and I made the > assumption that when you start the server, the files are compiled to > html, but I think I am incorrect in that assumption. I have yet to see > a compiled haml file in a browser. I know this is probably super > simple, but if someone could please tell me what to do I would greatly > appreciate it. > > Regards, > Justin > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/haml?hl=en -~----------~----~----~----~------~----~------~--~---
