Module ActionController::Helpers::ClassMethods
In: lib/action_controller/metal/helpers.rb

Methods

Public Instance methods

Declares helper accessors for controller attributes. For example, the following adds new name and name= instance methods to a controller and makes them available to the view:

  helper_attr :name
  attr_accessor :name

Parameters

*attrs<Array[String, Symbol]>:Names of attributes to be converted
  into helpers.

Provides a proxy to access helpers methods from outside the view.

[Validate]