Flowdock
method

helper_attr

Importance_1
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: ActionMailer::Helpers::ClassMethods

Method deprecated or moved

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

These similar methods exist in v5.2.3:

helper_attr(*attrs) public

Declare a controller attribute as a helper. For example,

  helper_attr :name
  attr_accessor :name

makes the name and name= controller methods available in the view. The is a convenience wrapper for helper_method.

Show source
Register or log in to add new notes.