Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

ActionView register_template_handler missing in 2.1 RC 1

#187

The HAML plugin breaks on Rails 2.1 RC 1 because it attempts to register itself as a template handler, and results in error:

/Library/Ruby/Gems/1.8/gems/haml-1.8.2/lib/haml/template/plugin.rb:42: undefined method `register_template_handler' for ActionView::Base:Class (NoMethodError)

Steps to replicate: (on OS X 10.5)

1.) sudo gem install haml

2.) rails hamltest

3.) cd hamltest

4.) haml --rails .

5.) rake rails:freeze:edge

6.) script/server

If you rake:freeze:gems to Rails 2.0.2, the error does not occur.

Reported by Steve Eley · May 13th, 2008 @ 09:36 PM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Pratik
    Pratik
    • State changed from new to invalid

    This should be fixed in development version of haml. Please use haml from http://github.com/nex3/haml/tree... and may be convince Nathan to release a new gem :)

    May 14th, 2008 @ 11:43 AM