This project is archived and is in readonly mode.
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
-
Pratik May 14th, 2008 @ 11:43 AM
- 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 :)
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>