method

add_instance_variables_to_assigns

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: ActionController::Base

Method deprecated or moved

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

add_instance_variables_to_assigns() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/base.rb, line 1214
      def add_instance_variables_to_assigns
        (instance_variable_names - @@protected_view_variables).each do |var|
          @assigns[var[1..-1]] = instance_variable_get(var)
        end
      end
Register or log in to add new notes.