Trunk Issue: Because of the use of 'autoload', template handlers other
than Erubis are not loaded automatically (Haml, XMLBuilder). Either
this should be fixed, or the documentation should be updated to
instruct people how to use non-Erb template engines.

Apparently the solution is to do something like this in merb_init.rb:

  ::Merb::AbstractController.register_engine ::Merb::Template::Haml, %w[ haml ]

So the question is:

* Is this the permanent situation for the future?
* Can I update the docs to reflect this requirement?

Geoffrey Grosenbach
http://peepcode.com
_______________________________________________
Merb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/merb-devel

Reply via email to