Ruby on Rails latest stable (v5.2.3) - 1 note - Class: ActionView::Base

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.0.3) is shown here.

These similar methods exist in v5.2.3:

register_template_handler(extension, klass) public

Register a class that knows how to handle template files with the given extension. This can be used to implement new template types. The constructor for the class must take the ActiveView::Base instance as a parameter, and the class must implement a #render method that takes the contents of the template to render as well as the Hash of local assigns available to the template. The #render method ought to return the rendered template as a string.

Show source
Register or log in to add new notes.
September 5, 2008 - (v1.0.0 - v2.0.3)
3 thanks

This method has moved

To help anyone else looking, this method is now on the ActionView::Template class.