This project is archived and is in readonly mode.
Deprecation warning for ActionMailer::Base.register_template_extension suggests nonexistent alternative
Reported by Timothy Jones | November 26th, 2008 @ 12:53 AM | in 2.x
Rails 2.2 issues the following deprecation warning:
DEPRECATION WARNING: ActionMailer::Base.register_template_extension has been deprecated.Use ActionView::Base.register_template_extension instead.
The problem is that ActionView::Base.register_template_extension doesn't exist.
Comments and changes to this ticket
-
josh November 27th, 2008 @ 03:17 AM
- State changed from new to invalid
ActionView::Base.register_template_extension will work. It delegates to ActionView::Template.
-
Timothy Jones November 27th, 2008 @ 03:28 AM
Not in Rails 2.2.2:
undefined method
register_template_extension' for ActionView::Base:Class (NoMethodError)
-
rgh December 3rd, 2008 @ 12:33 AM
Actually Josh it doesn't work. I get the same message as Timothy, it isn't mentioned in the doco either.
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>