What I did, was take the sample project in AWD for Rails and converted all of the RHTML (in the examples) to haml. I felt doing this would benefit those trying to learn haml ( a great tool!). There are comments included in the haml files where appropriate -- this is a complete example with all of the db files. I've tested this under windows (using instant rails) and Linux (doing the usual install -- under PCLinuxOS 2007).
Inside the database.yml, you'll need to set the correct server (for windows) or socket (for linux)... You should have a copy of the great book (AWD in Rails) in order to know fully how to set this up. I won't be able to get into great detail as to how you need to configure your own environment -- you'll need to follow the many tutorials provide in these great communities. Also, I've taken the liberty to use ActiveScaffold instead of Rails Scaffold -- its truly another great tool! Hope this helps everyone who wants to get up to speed on haml -- I know it was a great help for me! BTW, thanks to the haml community for helping me work through one issue I had (thanks!) I've posted the zip file here: http://www.accelerationtech.com/haml/depot-v8.zip Haml and ActiveScaffold is already in the plugins directory... BTW, I used Komodo 4.1.x and I found it a GREAT help. I've also included the project file with the zip. Try it for 30 days here (they support Mac, Windows, and Linux!): http://www.activestate.com Also, I'm running the latest Rails (1.2.3) and what came with Linux/ Windows as far as Ruby (1.8.5) Pass the word! Haml has really proven to me its true benefits (I've been doing this type of work for almost 20 years and anywhere I can save time, its a true benefit!) -Don --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
