method

name_with_prefix

rails latest stable - Class: ActionController::Integration::Session

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.

name_with_prefix(prefix, name)
private

No documentation available.

# File actionpack/lib/action_controller/integration.rb, line 391
        def name_with_prefix(prefix, name)
          prefix ? "#{prefix}[#{name}]" : name.to_s
        end