Well, there are the tutorial (http://haml.hamptoncatlin.com/tutorial), 
basic docs (http://haml.hamptoncatlin.com/docs), and individual 
references (http://haml.hamptoncatlin.com/docs/haml and 
http://haml.hamptoncatlin.com/docs/sass). This issue is a bug, though, 
and should be fixed rather than worked around (a fix is in the works, by 
the way).

Also, if you're converting plain XHTML, try using html2haml to speed up 
the process. It's located at haml/bin/html2haml.

- Nathan

Sérgio Santos wrote:
> It really helped, now works like a charm :)
>
> What about a FAQ for Haml?
>
> I'm now going to strip all my xhtml to haml :P
>
> On Apr 8, 9:08 pm, "Nex3" <[EMAIL PROTECTED]> wrote:
>   
>> I believe this is because Rails < 1.2 doesn't have the
>> alias_method_chain helper. I'll modify it so it doesn't need that
>> later today, but for the time being, the best thing to do would be to
>> copy the definition (you can find the source 
>> here:http://caboo.se/doc/classes/Module.html#M003437) and add it to haml/
>> lib/haml/helpers/action_view_mods.rb.
>>
>> Hope that helps!
>> - Nathan
>>
>> On Apr 8, 7:32 am, "Sérgio Santos" <[EMAIL PROTECTED]> wrote:
>>
>>     
>>> Just installed the plugin on one of my applications, but when I
>>> started the server:
>>>       
>>> => Booting WEBrick...
>>> ./script/../config/../vendor/plugins/stable/lib/haml/helpers/
>>> action_view_mods.rb
>>> :25: undefined method `alias_method_chain' for
>>> ActionView::Helpers::TextHelper:Module (NoMethodError)
>>>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
>>> 27:in `gem_original_require'
>>>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
>>> 27:in `require'
>>>         from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/
>>> active_support/dependencies.rb:147:in `require'
>>>         from ./script/../config/../vendor/plugins/stable/lib/haml/
>>> helpers.rb:1
>>>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
>>> 27:in `gem_original_require'
>>>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
>>> 27:in `require'
>>>         from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/
>>> active_support/dependencies.rb:147:in `require'
>>>         from ./script/../config/../vendor/plugins/stable/lib/haml/
>>> engine.rb:1
>>>          ... 26 levels...
>>>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
>>> 27:in `gem_original_require'
>>>         from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
>>> 27:in `require'
>>>         from c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/
>>> active_support/dependencies.rb:147:in `require'
>>>         from script/server:3
>>>       
>>> Any ideas? I really wanted to use Haml...
>>>       
>
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to