This project is archived and is in readonly mode.

#187 ✓invalid
Steve Eley

ActionView register_template_handler missing in 2.1 RC 1

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

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.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages